FROM golang:1.14-alpine WORKDIR /app COPY go.mod go.sum ./ RUN go mod download COPY . . RUN go build -o wesher . FROM alpine:latest COPY --from=0 /app/wesher /wesher ENTRYPOINT ["/wesher"]