POC-golang-postgres-docker/Dockerfile

12 lines
188 B
Docker
Raw Normal View History

FROM golang:alpine as builder
RUN mkdir -p /go/src/app
2020-09-14 13:16:47 +00:00
WORKDIR /go/src/app/cmd
ADD . /go/src/app
#RUN go get -d -v
2020-09-14 13:16:47 +00:00
#Run go build -o bins/genityapp
2020-09-14 13:16:47 +00:00
CMD ["/go/src/app/bins/./genityapp"]