File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,11 @@ This repo is a Next.js app used to generate a static site. The final production
1010- Runtime is static files only; mount/serve with RO filesystem (e.g., ` docker run --read-only --tmpfs /tmp --tmpfs /config --tmpfs /data -p 3000:3000 www-website ` ).
1111> ⚠️ The final container maps only the generated ` out ` directory and static assets; keep it read-only and do not run any Node/npm scripts there.
1212
13+ ## Runtime filesystem layout
14+ - The image is read-only, but Caddy still needs tiny writable slots for TLS cache/autosave/lock files.
15+ - Align tmpfs mounts with ` docker-compose.yml ` : ` /tmp:size=32m ` , ` /config:size=16m ` , ` /data:size=16m ` .
16+ - These small tmpfs allocations keep RAM usage predictable while allowing the static server to update its metadata safely.
17+
1318## Deployment notes
1419- Published image: ` ghcr.io/devsh-graphics-programming/www-website ` (tags: ` latest ` , ` master ` , ` sha-* ` ).
1520- Blog content is proxied separately; the main image does not include Node/npm or blog runtime.
You can’t perform that action at this time.
0 commit comments