Files
revanced-bots/apis/websocket/Dockerfile
oSumAtrIX 5aeade122b ci: Publish Docker images (#41)
Co-authored-by: PalmDevs <git@palmdevs.me>
2024-07-13 14:57:29 +02:00

17 lines
310 B
Docker

# This file should be triggered from the monorepo root
FROM oven/bun:latest AS base
FROM base AS build
WORKDIR /build
COPY . .
RUN cd apis/websocket && bun run build
FROM base AS release
WORKDIR /app
COPY --from=build /build/apis/websocket/dist /app
USER 1000:1000
ENTRYPOINT [ "bun", "run", "index.js" ]