fix: set GOPROXY to goproxy.cn for Go module downloads
proxy.golang.org is not reachable from this server; use goproxy.cn mirror.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user