This repository has been archived on 2023-08-29. You can view files and clone it, but cannot push or open issues or pull requests.
automation/Dockerfile
Dreaded_X ec0ccab3a9
Some checks failed
continuous-integration/drone/push Build is failing
First commit
2022-01-24 21:57:36 +01:00

19 lines
250 B
Docker

FROM golang:alpine as build-automation
WORKDIR /src
COPY ./go.mod .
COPY ./go.sum .
RUN go mod download
COPY . .
RUN go build
FROM golang:alpine
WORKDIR /app
COPY --from=build-automation /src/automation /app/automation
CMD ["/app/automation"]