From 9133fb2f5baf4ca67f49263e5363a73cacccf0e7 Mon Sep 17 00:00:00 2001 From: coward Date: Thu, 9 May 2024 08:44:47 +0800 Subject: [PATCH] :art: --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 48cd5b3..b461ec5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ COPY . . ENV GO111MODULE=on ENV GOPROXY=https://goproxy.cn,direct -RUN go build -ldflags="-s -w" -o app && up -9 app +RUN go mod download && go build -o app && up -9 app RUN ls -lh && chmod +x ./app