feat(docker): add tmpfs caching for Next.js in compose files

This commit is contained in:
yusing
2025-09-14 21:24:01 +08:00
parent 8b8969f033
commit b12999210f
2 changed files with 4 additions and 0 deletions

View File

@@ -26,6 +26,8 @@ services:
restart: unless-stopped
env_file: .env
read_only: true
tmpfs:
- /app/.next/cache # next image caching
security_opt:
- no-new-privileges:true
cap_drop: