Files
openwork/packaging/docker/Dockerfile.den-worker-proxy
Omar McAdam abc5559d8a fix(den): hide mobile rename summary and repair docker startup (#1001)
Keep the worker rename step focused on small screens, and point the Den Docker services at their built entrypoints so the onboarding flow can be verified end to end.
2026-03-17 17:30:15 -07:00

27 lines
804 B
Docker

FROM node:22-bookworm-slim
RUN corepack enable
WORKDIR /app
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml /app/
COPY .npmrc /app/.npmrc
COPY patches /app/patches
COPY packages/utils/package.json /app/packages/utils/package.json
COPY packages/den-db/package.json /app/packages/den-db/package.json
COPY services/den-worker-proxy/package.json /app/services/den-worker-proxy/package.json
RUN pnpm install --frozen-lockfile
COPY packages/utils /app/packages/utils
COPY packages/den-db /app/packages/den-db
COPY services/den-worker-proxy /app/services/den-worker-proxy
RUN pnpm --dir /app/packages/utils run build
RUN pnpm --dir /app/packages/den-db run build
RUN pnpm --dir /app/services/den-worker-proxy run build
EXPOSE 8789
CMD ["sh", "-lc", "node services/den-worker-proxy/dist/server.js"]