diff --git a/Dockerfile b/Dockerfile index e2de62b..f8d1499 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,6 @@ FROM golang:1.25-alpine AS backend-builder WORKDIR /build +ENV GOPROXY=https://goproxy.cn,direct COPY . . RUN go build -ldflags="-s -w" -o bin/server