Files
revanced-bots/apis/websocket/Dockerfile
2025-04-04 23:55:06 +07:00

18 lines
353 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 bun install --frozen-lockfile
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", "--bun", "run", "index.js" ]