mirror of
https://github.com/different-ai/openwork
synced 2026-04-25 17:15:34 +02:00
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.
27 lines
725 B
Docker
27 lines
725 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/package.json /app/services/den/package.json
|
|
|
|
RUN pnpm install --frozen-lockfile
|
|
|
|
COPY packages/utils /app/packages/utils
|
|
COPY packages/den-db /app/packages/den-db
|
|
COPY services/den /app/services/den
|
|
|
|
RUN pnpm --dir /app/packages/utils run build
|
|
RUN pnpm --dir /app/packages/den-db run build
|
|
RUN pnpm --dir /app/services/den run build
|
|
|
|
EXPOSE 8788
|
|
|
|
CMD ["sh", "-lc", "node services/den/dist/index.js"]
|