镜像源
This commit is contained in:
parent
0a9d766bc4
commit
e35768d932
@ -6,7 +6,8 @@ WORKDIR /app
|
||||
|
||||
# 复制源代码
|
||||
COPY . .
|
||||
RUN go env -w GOPROXY=https://goproxy.cn,direct
|
||||
# 设置GOPROXY 阿里云
|
||||
RUN go env -w GOPROXY=https://mirrors.aliyun.com/goproxy/,direct
|
||||
# 下载依赖
|
||||
RUN go mod download
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user