Skip to content

Commit

Permalink
修改dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerry committed Aug 1, 2024
1 parent 22d4943 commit 825ed56
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 @@ -13,8 +13,8 @@ COPY backend/go.mod .
COPY backend/go.sum .
RUN go mod download
RUN go mod tidy
COPY --from=front /app/.output/public /app/public
COPY backend/. .
COPY --from=front /app/.output/public /app/public
RUN apk update --no-cache && apk add --no-cache tzdata
RUN go build -tags prod -ldflags="-s -w" -o /app/moments

Expand Down

0 comments on commit 825ed56

Please sign in to comment.