FROM golang:alpine # RUN mkdir /go/src/app WORKDIR /go/src/app COPY go.mod go.sum ./ COPY pkg ./ RUN go mod download ENTRYPOINT ["go", "run", "pkg/main.go"]