POC-golang-postgres-docker/Dockerfile
2020-09-14 18:16:47 +05:00

12 lines
174 B
Docker

FROM golang:alpine as builder
RUN mkdir -p /go/src/app
WORKDIR /go/src/app/cmd
ADD . /go/src/app
RUN go get -d -v
Run go build -o bins/genityapp
CMD ["bins/./genityapp"]