commit
This commit is contained in:
parent
768d75e400
commit
e16805640d
11
Dockerfile
11
Dockerfile
@ -1,6 +1,7 @@
|
|||||||
FROM golang:1.13
|
FROM golang:1.20
|
||||||
RUN go get -u github.com/johndoe/mywebserver/template/...
|
RUN go get -u git.bcmaison.cf/SectionTests/go-web-docker/template/...
|
||||||
WORKDIR /app
|
WORKDIR /go/src/git.bcmaison.cf/SectionTests/go-web-docker
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN go install .
|
RUN go version
|
||||||
CMD ["/app/myweb"]
|
RUN go install -o /app/bin/app .
|
||||||
|
CMD ["/go/bin/app"]
|
||||||
|
Loading…
Reference in New Issue
Block a user