FROM golang:1.14.6-alpine3.12
RUN mkdir /src
ADD . /src
WORKDIR /src
RUN go mod download
RUN go build -o main .
CMD["/src/main"]