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