...
|
...
|
@@ -11,6 +11,6 @@ COPY ./main.go main.go |
|
|
RUN ["ln","-sf","/usr/share/zoneinfo/Asia/Shanghai","/etc/localtime"]
|
|
|
ENV GO111MODULE on
|
|
|
ENV GOPROXY https://goproxy.io
|
|
|
RUN ["go","mod","download"]
|
|
|
#RUN ["go","mod","tidy"]
|
|
|
RUN ["go","build"]
|
|
|
ENTRYPOINT ["./mmm-worth"] |
|
|
\ No newline at end of file |
...
|
...
|
|