diff --git a/server/Dockerfile b/server/Dockerfile index b7f4b3a4c37b6838bcbf719aa0a5bfa1fc315bd5..0e03cd50c7101d60a5f413266484b095bddbf99d 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -5,6 +5,7 @@ COPY . . RUN go env -w GO111MODULE=on RUN go env -w GOPROXY=https://goproxy.cn,direct +RUN go env -w CGO_ENABLED=0 RUN go env RUN go mod tidy RUN go build -o server .