Skip to content

Commit

Permalink
🐛 fix Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
songquanpeng committed Dec 17, 2022
1 parent c0ec089 commit d16e090
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ENV GO111MODULE=on \
WORKDIR /build
COPY . .
RUN go mod download
RUN go build -ldflags "-s -w 'microblog/common.Version=$(cat VERSION)' -extldflags '-static'" -o microblog
RUN go build -ldflags "-s -w -X 'microblog/common.Version=$(cat VERSION)' -extldflags '-static'" -o microblog

FROM alpine

Expand Down

0 comments on commit d16e090

Please sign in to comment.