Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xu756 committed Oct 4, 2024
1 parent 0f1a986 commit 4354bf1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/im-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: go mod download
- name: 打包
run: |
go build -ldflags="-s -w" -o main $MAIN_GO_FILE \
go build -o main $MAIN_GO_FILE \
&& ls -l .
- name: 登录到私有仓库
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM alpine:3.20.3
WORKDIR /app
RUN apk update --no-cache && apk add --no-cache tzdata
COPY . /app
COPY main /app
ENV TZ Asia/Shanghai

CMD ["./main"]

0 comments on commit 4354bf1

Please sign in to comment.