go-web-docker/Dockerfile

8 lines
225 B
Docker
Raw Normal View History

2023-07-29 23:29:19 -04:00
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
2023-07-29 21:55:08 -04:00
COPY . .
2023-07-29 23:29:19 -04:00
RUN go version
RUN go install -o /app/bin/app .
CMD ["/go/bin/app"]