fix: fix Dockerfile

This commit is contained in:
JustSong
2022-12-10 17:45:01 +08:00
parent 62c5ef7f4f
commit 9f956d15a0
+1 -1
View File
@@ -16,7 +16,7 @@ WORKDIR /build
COPY . .
COPY --from=builder /build/build ./web/build
RUN go mod download
RUN go build -ldflags "-s -w -X 'gin-template/common.Version=$(cat VERSION)' -extldflags '-static'" -o message-pusher
RUN go build -ldflags "-s -w -X 'message-pusher/common.Version=$(cat VERSION)' -extldflags '-static'" -o message-pusher
FROM alpine