diff --git a/Dockerfile b/Dockerfile index dc2690d..5227463 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ COPY . . ARG TARGETOS TARGETARCH -RUN GOPROXY=https://goproxy.cn go get github.com/klauspost/compress && \ +RUN GOPROXY=https://proxy.golang.org, GOPROXY=https://goproxy.cn go mod download && \ CGO=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -ldflags "-s -w" EXPOSE 3000