From 800bcd88ef2965b03d417f407045defd3091b2f2 Mon Sep 17 00:00:00 2001 From: Till-JS <101404291+Till-JS@users.noreply.github.com> Date: Fri, 23 Jan 2026 00:21:02 +0100 Subject: [PATCH] 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 --- apps/calendar/apps/web/Dockerfile | 1 + apps/chat/apps/web/Dockerfile | 1 + apps/clock/apps/web/Dockerfile | 1 + apps/manacore/apps/web/Dockerfile | 1 + apps/todo/apps/web/Dockerfile | 1 + 5 files changed, 5 insertions(+) diff --git a/apps/calendar/apps/web/Dockerfile b/apps/calendar/apps/web/Dockerfile index a331e67a6..665d29927 100644 --- a/apps/calendar/apps/web/Dockerfile +++ b/apps/calendar/apps/web/Dockerfile @@ -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 diff --git a/apps/chat/apps/web/Dockerfile b/apps/chat/apps/web/Dockerfile index f26084c71..63ebeb103 100644 --- a/apps/chat/apps/web/Dockerfile +++ b/apps/chat/apps/web/Dockerfile @@ -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 diff --git a/apps/clock/apps/web/Dockerfile b/apps/clock/apps/web/Dockerfile index 50aeb4a15..01ba7f963 100644 --- a/apps/clock/apps/web/Dockerfile +++ b/apps/clock/apps/web/Dockerfile @@ -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 diff --git a/apps/manacore/apps/web/Dockerfile b/apps/manacore/apps/web/Dockerfile index b400e79d5..c31411e36 100644 --- a/apps/manacore/apps/web/Dockerfile +++ b/apps/manacore/apps/web/Dockerfile @@ -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 diff --git a/apps/todo/apps/web/Dockerfile b/apps/todo/apps/web/Dockerfile index 0182d284b..01c7bde59 100644 --- a/apps/todo/apps/web/Dockerfile +++ b/apps/todo/apps/web/Dockerfile @@ -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