Update Python dependencies and Docker base image #4

Merged
overspend1 merged 1 commits from claude/update-python-dependencies-01Tb7V7mEiTXHTqiM81Zgh54 into main 2025-11-21 12:59:47 +01:00

1 Commits

Author SHA1 Message Date
Claude
22fce19050 fix: Resolve Docker build failures for frontend and backend
Backend fixes:
- Add g++ and build-essential for complete C++ compilation support
- Upgrade pip, setuptools, and wheel before installing dependencies
- Ensures psutil and other packages with native extensions build correctly

Frontend fixes:
- Add build arguments for NEXT_PUBLIC_API_URL and NEXT_PUBLIC_WS_URL
- Pass environment variables during Docker build stage
- Set default values to prevent undefined destination in Next.js rewrites
- Configure docker-compose to pass build arguments to frontend service

These changes resolve:
- psutil build failure: "ERROR: Failed building wheel for psutil"
- Next.js build error: "Invalid rewrite found" with undefined destination
2025-11-21 11:58:56 +00:00