This commit is contained in:
xuyucheng 2021-11-25 14:13:05 +08:00
parent d57a36829f
commit fdc4e1348e
1 changed files with 1 additions and 2 deletions

View File

@ -6,6 +6,5 @@ RUN go env -w GO111MODULE=on
RUN go env -w GOPROXY=https://goproxy.cn,direct RUN go env -w GOPROXY=https://goproxy.cn,direct
RUN go mod tidy RUN go mod tidy
RUN go build -o app . RUN go build -o app .
WORKDIR /dist
EXPOSE 9090 EXPOSE 9090
CMD ["/dist/app"] CMD ["/home/gin/dist/app"]