change Dockerfile增加包管理代理环境变量
parent
379864e383
commit
63b9185851
|
@ -12,7 +12,7 @@ ENV GO111MODULE=on
|
|||
ENV GOPROXY=https://goproxy.io,direct
|
||||
|
||||
# 下载依赖
|
||||
RUN go mod download
|
||||
RUN go mod tidy
|
||||
|
||||
# 复制源代码
|
||||
COPY . .
|
||||
|
|
Loading…
Reference in New Issue