From 605745d0fe69f9ca95d6930d11ef8b34e3637320 Mon Sep 17 00:00:00 2001 From: jagger Date: Thu, 27 Jun 2024 17:33:10 +0800 Subject: [PATCH] fix bug Signed-off-by: jagger Former-commit-id: 588fc8dca58443e84711d7ff4719198b3f7a4e94 --- api/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/Dockerfile b/api/Dockerfile index 2eeb683f..afd6ce83 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -6,7 +6,8 @@ COPY . . RUN go env -w GO111MODULE=on \ && go env -w GOPROXY=https://goproxy.cn,direct \ -&& go env -w CGO_ENABLED=0 +&& go env -w CGO_ENABLED=0 \ +&& go mod download RUN go build -o pcm-coordinator-api /app/api/pcm.go FROM registry.cn-hangzhou.aliyuncs.com/jcce-images/alpine:3.20