Update Dockerfile

This commit is contained in:
EngiGu
2024-01-01 13:41:32 +08:00
committed by GitHub
parent 72d57447ae
commit f2fe5ed3c7
+3 -3
View File
@@ -1,9 +1,9 @@
FROM golang:latest FROM golang:latest
ENV GOPROXY https://goproxy.cn,direct ENV GOPROXY https://goproxy.cn,direct
WORKDIR $GOPATH/src/github.com/EDDYCJY/go-gin-example WORKDIR /app
COPY . $GOPATH/src/github.com/EDDYCJY/go-gin-example COPY . /app
RUN go build . RUN go build .
EXPOSE 8000 EXPOSE 8000
ENTRYPOINT ["./go-gin-example"] ENTRYPOINT ["./Message-Nest"]