fix: add GOPROXY=https://goproxy.cn,direct to Dockerfile

This commit is contained in:
2026-06-20 22:58:41 +08:00
parent 9bfe1ec120
commit 1a64b2e98e
+1
View File
@@ -2,6 +2,7 @@
FROM golang:1.25-alpine AS builder
WORKDIR /app
COPY go.mod go.sum ./
ENV GOPROXY=https://goproxy.cn,direct
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 go build -o pr-helper .