rest-api-prototype/deploy/docker/Dockerfile.run
Piotr Biernat 4dab09e66b
All checks were successful
continuous-integration/drone/push Build is passing
[feature] Added CI config
2022-04-21 22:37:05 +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"]