The nextjs user couldn't write to .next/cache at runtime because the directory was created by root during the build stage. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Dockerfile: multi-stage build (deps → builder → runner), standalone output - docker-compose.yml: app + postgres services, health checks - nginx/staging.letsbe.biz.conf: reverse proxy ready for certbot SSL - Updated .env.example with all required secrets Deploy steps: 1. Copy nginx conf to /etc/nginx/sites-enabled/ 2. nginx -t && systemctl reload nginx 3. certbot --nginx -d staging.letsbe.biz 4. Create .env from .env.example 5. docker compose up -d --build Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>