Fix npm run build Failed Due to Webpack Configuration - How to Resolve Node.js Heap Out of Memory Error-Port Already in Use by Another Container – Docker Compose Solution

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