...
|
...
|
@@ -9,7 +9,7 @@ COPY ./main.go main.go |
|
|
RUN ["ln","-sf","/usr/share/zoneinfo/Asia/Shanghai","/etc/localtime"]
|
|
|
ENV GO111MODULE on
|
|
|
ENV GOPROXY https://goproxy.cn
|
|
|
RUN ["go","mod","tidy"]
|
|
|
# RUN ["go","mod","tidy"]
|
|
|
RUN ["go","build","-mod=vendor"]
|
|
|
EXPOSE 8082
|
|
|
ENTRYPOINT ["./partnermg"] |
|
|
\ No newline at end of file |
...
|
...
|
|