go-web-docker/Dockerfile
2023-07-29 23:29:19 -04:00

8 lines
225 B
Docker

FROM golang:1.20
RUN go get -u git.bcmaison.cf/SectionTests/go-web-docker/template/...
WORKDIR /go/src/git.bcmaison.cf/SectionTests/go-web-docker
COPY . .
RUN go version
RUN go install -o /app/bin/app .
CMD ["/go/bin/app"]