diff --git a/Dockerfile b/Dockerfile index 038f935..6b054fc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,9 @@ FROM golang:1.26-alpine AS builder WORKDIR /app -ENV GOTOOLCHAIN=auto +ENV GOTOOLCHAIN=auto \ + GOPROXY=https://goproxy.cn,direct \ + GOSUMDB=sum.golang.google.cn COPY go.mod go.sum ./ RUN go mod download COPY . .