refactor: move dockerfiles to package folders

This commit is contained in:
spiral
2022-07-05 15:37:15 -04:00
parent cc0edd3ed8
commit 303ef71805
6 changed files with 3 additions and 4 deletions

View File

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