fix: add svelte-kit sync to Dockerfiles before build

The prepare script only runs during local pnpm install, not during
workspace-level installation in Docker. Adding explicit svelte-kit sync
step before vite build to generate SvelteKit entry points.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Till-JS 2026-01-23 00:21:02 +01:00
parent 438ee892a1
commit 800bcd88ef
5 changed files with 5 additions and 0 deletions

View file

@ -53,6 +53,7 @@ RUN pnpm build || true
# Build the web app
WORKDIR /app/apps/calendar/apps/web
RUN pnpm exec svelte-kit sync
RUN pnpm build
# Production stage

View file

@ -51,6 +51,7 @@ RUN pnpm build || true
# Build the web app
WORKDIR /app/apps/chat/apps/web
RUN pnpm exec svelte-kit sync
RUN pnpm build
# Production stage

View file

@ -51,6 +51,7 @@ RUN pnpm build || true
# Build the web app
WORKDIR /app/apps/clock/apps/web
RUN pnpm exec svelte-kit sync
RUN pnpm build
# Production stage

View file

@ -51,6 +51,7 @@ RUN pnpm build || true
# Build the web app
WORKDIR /app/apps/manacore/apps/web
RUN pnpm exec svelte-kit sync
RUN pnpm build
# Production stage

View file

@ -53,6 +53,7 @@ RUN pnpm build || true
# Build the web app
WORKDIR /app/apps/todo/apps/web
RUN pnpm exec svelte-kit sync
RUN pnpm build
# Production stage