fix(docker): add content package build step in zitare Dockerfile

This commit is contained in:
Till JS 2026-03-28 22:18:28 +01:00
parent 45ebfea59d
commit 53f90ce87f

View file

@ -12,6 +12,8 @@ COPY apps/zitare/apps/web ./apps/zitare/apps/web
RUN --mount=type=cache,id=pnpm,target=/root/.local/share/pnpm/store \
pnpm install --no-frozen-lockfile --ignore-scripts
# Build app-specific packages (e.g. content with dist/ output)
RUN cd /app/apps/zitare/packages/content && pnpm build || true
WORKDIR /app/apps/zitare/apps/web
RUN pnpm exec svelte-kit sync
RUN NODE_OPTIONS="--max-old-space-size=4096" pnpm build