SPB Git

Repository Public

Dockerfile 802 B 20 lines docker

1# CLIP — portable image for web and worker (production on the MacLustr cluster uses PM2, see docs/deployment.md).2FROM node:24-bookworm-slim AS base3RUN apt-get update && apt-get install -y --no-install-recommends ffmpeg postgresql-client rsync ca-certificates && apt-get clean && useradd -m clip4RUN corepack enable5WORKDIR /app67FROM base AS build8COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./9RUN pnpm install --frozen-lockfile10COPY . .11# The build needs no secret: nothing sensitive is compiled into the image.12RUN NEXT_TELEMETRY_DISABLED=1 pnpm exec next build1314FROM base AS run15ENV NODE_ENV=production NEXT_TELEMETRY_DISABLED=116COPY --from=build --chown=clip:clip /app /app17USER clip18EXPOSE 864019CMD ["node", "node_modules/next/dist/bin/next", "start", "-p", "8640", "-H", "0.0.0.0"]20
Files main
Menu

Theme