12 lines
174 B
Docker
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"] |