FROM golang:1.16-alpine WORKDIR /src ADD go.mod /src ADD go.sum /src RUN go mod download ADD . /src RUN go build -o app . ENTRYPOINT ["/src/app"]