Update Dockerfile
This commit is contained in:
+3
-3
@@ -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"]
|
||||||
|
|||||||
Reference in New Issue
Block a user