First commit
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2022-01-24 21:57:36 +01:00
commit ec0ccab3a9
8 changed files with 386 additions and 0 deletions

18
Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
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"]