vegvisir/Dockerfile.run
Piotr Biernat 6bc22c2b6b
All checks were successful
continuous-integration/drone/push Build is passing
[test] Multistage build with drone CI
2022-04-17 00:38:48 +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"]