fix(manacore): use --ignore-scripts in Dockerfile install step

Prevents postinstall from triggering premature builds before shared
packages are compiled.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-03-24 11:28:42 +01:00
parent 817ad841c6
commit 3c6253a84b

View file

@ -51,8 +51,8 @@ COPY packages/credit-operations ./packages/credit-operations
# Copy manacore web
COPY apps/manacore/apps/web ./apps/manacore/apps/web
# Install dependencies
RUN --mount=type=cache,id=pnpm,target=/root/.local/share/pnpm/store pnpm install --frozen-lockfile
# Install dependencies (ignore scripts to prevent premature builds)
RUN --mount=type=cache,id=pnpm,target=/root/.local/share/pnpm/store pnpm install --frozen-lockfile --ignore-scripts
# Build shared packages that need building
WORKDIR /app/packages/shared-vite-config