From 825ed56b619cc8214f7c838cd44a1ffed13dbd27 Mon Sep 17 00:00:00 2001 From: Jerry Date: Thu, 1 Aug 2024 11:34:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 819e9244..f19c9a80 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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