Files
arnaudne bdf53980c0 fix(docker): prevent pnpm TTY prompt when BuildKit cache has stale node_modules
pnpm 11 aborts with ERR_PNPM_ABORTED_REMOVE_MODULES_DIR_NO_TTY when it
detects an existing node_modules directory and there is no TTY to confirm
purging it. This happens in Portainer when BuildKit layer cache reuses a
prior deps stage containing node_modules.

- .npmrc: set confirmModulesPurge=false (skip prompt unconditionally)
- Dockerfile deps stage: set CI=true (belt-and-suspenders for pnpm CI mode)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-25 09:10:33 +02:00

7 lines
197 B
Plaintext

onlyBuiltDependencies[]=@prisma/engines
onlyBuiltDependencies[]=core-js
onlyBuiltDependencies[]=prisma
onlyBuiltDependencies[]=sharp
onlyBuiltDependencies[]=unrs-resolver
confirmModulesPurge=false