change Dockerfile增加包管理代理环境变量

main
dugulp 2024-08-01 02:24:56 +08:00
parent 379864e383
commit 63b9185851
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ ENV GO111MODULE=on
ENV GOPROXY=https://goproxy.io,direct
# 下载依赖
RUN go mod download
RUN go mod tidy
# 复制源代码
COPY . .