正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -9,7 +9,7 @@ COPY ./main.go main.go | @@ -9,7 +9,7 @@ COPY ./main.go main.go | ||
9 | RUN ["ln","-sf","/usr/share/zoneinfo/Asia/Shanghai","/etc/localtime"] | 9 | RUN ["ln","-sf","/usr/share/zoneinfo/Asia/Shanghai","/etc/localtime"] |
10 | ENV GO111MODULE on | 10 | ENV GO111MODULE on |
11 | ENV GOPROXY https://goproxy.cn | 11 | ENV GOPROXY https://goproxy.cn |
12 | -RUN ["go","mod","tidy"] | 12 | +# RUN ["go","mod","tidy"] |
13 | RUN ["go","build","-mod=vendor"] | 13 | RUN ["go","build","-mod=vendor"] |
14 | EXPOSE 8082 | 14 | EXPOSE 8082 |
15 | ENTRYPOINT ["./partnermg"] | 15 | ENTRYPOINT ["./partnermg"] |
-
请 注册 或 登录 后发表评论