FROM golang:1.14-alpine

RUN apk add --no-cache git
WORKDIR /go/src/app
COPY demo.go .

RUN go get -d -v ./...
RUN go install -v ./...

CMD ["app"]
