From 73dc6ed039802406b0c87aaea5983feb1b38c419 Mon Sep 17 00:00:00 2001 From: Amir Raminfar Date: Thu, 7 May 2026 08:18:35 -0700 Subject: [PATCH] fix(docker): use confirm-modules-purge flag instead of CI=true Setting CI=true caused pnpm to switch to a stricter resolver mode that surfaced ERR_PNPM_NO_OFFLINE_TARBALL on the offline install. Use the targeted --config.confirm-modules-purge=false flag instead to disable the TTY prompt without altering other install behavior. Co-Authored-By: Claude Opus 4.7 (1M context) --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index f8f54251..2138834b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,8 +3,6 @@ FROM --platform=$BUILDPLATFORM node:25.9.0-alpine AS node RUN npm install -g --force corepack && corepack enable -ENV CI=true - WORKDIR /build # Install dependencies from lock file @@ -13,7 +11,7 @@ RUN pnpm fetch --ignore-scripts --no-optional # Copy package.json and install dependencies COPY package.json ./ -RUN pnpm install --offline --ignore-scripts --no-optional +RUN pnpm install --offline --ignore-scripts --no-optional --config.confirm-modules-purge=false # Copy assets and translations to build COPY vite.config.ts tsconfig.json .prettierrc.cjs .npmrc ./