mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 21:41:09 +02:00
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:
parent
438ee892a1
commit
800bcd88ef
5 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue