vegvisir/Dockerfile.run
Piotr Biernat c577734ab1
All checks were successful
continuous-integration/drone/push Build is passing
[test] Multistage build with drone CI
2022-04-17 20:05:03 +02:00

12 lines
161 B
Docker

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"]