mirror of
https://github.com/different-ai/openwork
synced 2026-04-26 01:25:10 +02:00
* Add Den org auth model and template APIs Wire Better Auth organizations with TypeId-backed schema and migrations, enforce owner/admin org permissions, and add org-scoped template create/list/delete endpoints. Simplify the Den org dashboard UX and update Docker dev packaging paths for the ee apps/packages layout. * Add manual-safe org migration SQL Provide a Vitess-compatible version of the organization migration without statement-breakpoint markers or unsupported IF NOT EXISTS column syntax so operators can run it directly in SQL consoles. --------- Co-authored-by: src-opn <src-opn@users.noreply.github.com>
21 lines
450 B
Docker
21 lines
450 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 ee/apps/den-web/package.json /app/ee/apps/den-web/package.json
|
|
|
|
RUN pnpm install --frozen-lockfile --filter @openwork-ee/den-web...
|
|
|
|
COPY ee/apps/den-web /app/ee/apps/den-web
|
|
|
|
WORKDIR /app/ee/apps/den-web
|
|
|
|
EXPOSE 3005
|
|
|
|
CMD ["sh", "-lc", "pnpm run build && pnpm run start"]
|