修改dockerfile

This commit is contained in:
2026-07-14 19:15:13 +08:00
parent 68d61700d5
commit 4a73f81195

View File

@@ -1,4 +1,6 @@
FROM golang:1.26.3-alpine AS build FROM golang:1.26.3-alpine AS build
ARG GOPROXY=https://goproxy.cn,direct
ENV GOPROXY=${GOPROXY}
WORKDIR /src WORKDIR /src
COPY go.mod go.sum* ./ COPY go.mod go.sum* ./
RUN go mod download RUN go mod download