From 3c6253a84b52c08fb5f1ae3e993a96fc0faad64b Mon Sep 17 00:00:00 2001 From: Till JS Date: Tue, 24 Mar 2026 11:28:42 +0100 Subject: [PATCH] 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) --- apps/manacore/apps/web/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/manacore/apps/web/Dockerfile b/apps/manacore/apps/web/Dockerfile index 1b6e1269e..415db9763 100644 --- a/apps/manacore/apps/web/Dockerfile +++ b/apps/manacore/apps/web/Dockerfile @@ -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