Fix npm run build Failed Due to Webpack Configuration - Nginx Cloudflare 521 Troubleshooting Guide-Docker Compose Env Var Troubleshooting

Result check
- Keep one change per test run so you know which step helped.
- Undo temporary changes after the issue is confirmed.