mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-14 17:50:13 +00:00
refactor: move dockerfiles to package folders
This commit is contained in:
parent
cc0edd3ed8
commit
303ef71805
6 changed files with 3 additions and 4 deletions
15
scheduled_tasks/Dockerfile
Normal file
15
scheduled_tasks/Dockerfile
Normal 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"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue