作者 陈志颖

fix:Dockerfile

正在显示 1 个修改的文件 包含 1 行增加1 行删除
@@ -10,7 +10,7 @@ COPY ./go.mod go.mod @@ -10,7 +10,7 @@ COPY ./go.mod go.mod
10 COPY ./main.go main.go 10 COPY ./main.go main.go
11 RUN ["ln","-sf","/usr/share/zoneinfo/Asia/Shanghai","/etc/localtime"] 11 RUN ["ln","-sf","/usr/share/zoneinfo/Asia/Shanghai","/etc/localtime"]
12 ENV GO111MODULE on 12 ENV GO111MODULE on
13 -ENV GOPROXY https://goproxy.io 13 +ENV GOPROXY https://goproxy.io,direct
14 RUN ["go","mod","tidy"] 14 RUN ["go","mod","tidy"]
15 RUN ["go","build"] 15 RUN ["go","build"]
16 ENTRYPOINT ["./mmm-worth"] 16 ENTRYPOINT ["./mmm-worth"]