mirror of
https://github.com/ReVanced/revanced-bots.git
synced 2026-01-11 13:56:15 +00:00
ci: Publish Docker images (#41)
Co-authored-by: PalmDevs <git@palmdevs.me>
This commit is contained in:
17
bots/discord/Dockerfile
Normal file
17
bots/discord/Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
||||
# This file should be triggered from the monorepo root
|
||||
FROM oven/bun:latest AS base
|
||||
|
||||
FROM base AS build
|
||||
|
||||
WORKDIR /build
|
||||
COPY . .
|
||||
RUN cd bots/discord && bun run build
|
||||
|
||||
FROM base AS release
|
||||
|
||||
WORKDIR /app
|
||||
COPY --from=build /build/bots/discord/dist /app
|
||||
|
||||
USER 1000:1000
|
||||
|
||||
ENTRYPOINT [ "bun", "run", "src/index.js" ]
|
||||
Reference in New Issue
Block a user