Add tmpfs for npm cache in read_only container

Allows Prisma CLI operations to work within the
security-hardened read_only container.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jeff Emmett 2026-02-13 12:35:45 -07:00
parent b90e1fc9cd
commit 09dd98bf6d
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@ services:
read_only: true read_only: true
tmpfs: tmpfs:
- /tmp - /tmp
- /home/nextjs/.npm
rtrips-postgres: rtrips-postgres:
image: postgres:16-alpine image: postgres:16-alpine