fix: add GOPROXY=https://goproxy.cn,direct to Dockerfile
This commit is contained in:
@@ -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 .
|
||||
|
||||
Reference in New Issue
Block a user