fix(deploy): honor configured Go module proxy

This commit is contained in:
姚章浩
2026-09-11 17:27:20 +08:00
parent a615693bd0
commit d77fbd675b
2 changed files with 18 additions and 0 deletions
+2
View File
@@ -2,6 +2,8 @@ FROM golang:1.26.5-bookworm AS build
WORKDIR /src
COPY go.mod go.sum ./
ARG GOPROXY=https://proxy.golang.org,direct
ENV GOPROXY=${GOPROXY}
RUN go mod download
COPY . ./