This commit is contained in:
bruno 2023-07-29 23:29:19 -04:00
parent 768d75e400
commit e16805640d

View File

@ -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"]