refactor: move dockerfiles to package folders

This commit is contained in:
spiral 2022-07-05 15:37:15 -04:00
parent cc0edd3ed8
commit 303ef71805
No known key found for this signature in database
GPG key ID: 244A11E4B0BCF40E
6 changed files with 3 additions and 4 deletions

View file

@ -1,15 +0,0 @@
FROM alpine:latest AS builder
RUN apk add go
WORKDIR /build
COPY scheduled_tasks/ /build
RUN go build .
FROM alpine:latest
COPY --from=builder /build/scheduled_tasks /bin/runner
ENTRYPOINT ["/bin/runner"]