Fix Python Dependency Conflict Error Code 1 - How to Fix Nginx 502 Bad Gateway in Docker-Fix Docker Build Context Canceled by Excluding Files

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.