正在显示
1 个修改的文件
包含
1 行增加
和
2 行删除
1 | - | ||
2 | FROM 192.168.0.243:5000/mmm/mmm-worth:20201122 | 1 | FROM 192.168.0.243:5000/mmm/mmm-worth:20201122 |
3 | #FROM golang:latest | 2 | #FROM golang:latest |
4 | #MAINTAINER linmadan <772181827@qq.com> | 3 | #MAINTAINER linmadan <772181827@qq.com> |
@@ -12,6 +11,6 @@ COPY ./main.go main.go | @@ -12,6 +11,6 @@ COPY ./main.go main.go | ||
12 | RUN ["ln","-sf","/usr/share/zoneinfo/Asia/Shanghai","/etc/localtime"] | 11 | RUN ["ln","-sf","/usr/share/zoneinfo/Asia/Shanghai","/etc/localtime"] |
13 | ENV GO111MODULE on | 12 | ENV GO111MODULE on |
14 | ENV GOPROXY https://goproxy.io | 13 | ENV GOPROXY https://goproxy.io |
15 | -RUN ["go","mod","tidy"] | 14 | +#RUN ["go","mod","tidy"] |
16 | RUN ["go","build"] | 15 | RUN ["go","build"] |
17 | ENTRYPOINT ["./mmm-worth"] | 16 | ENTRYPOINT ["./mmm-worth"] |
-
请 注册 或 登录 后发表评论