This commit is contained in:
2026-07-31 18:01:15 +08:00
parent af9731f831
commit 34fb0f62b9
+3 -1
View File
@@ -1,7 +1,9 @@
FROM golang:1.26-alpine AS builder FROM golang:1.26-alpine AS builder
WORKDIR /app WORKDIR /app
ENV GOTOOLCHAIN=auto ENV GOTOOLCHAIN=auto \
GOPROXY=https://goproxy.cn,direct \
GOSUMDB=sum.golang.google.cn
COPY go.mod go.sum ./ COPY go.mod go.sum ./
RUN go mod download RUN go mod download
COPY . . COPY . .