fix: gunicorn control socket error and host bytecode in the image

Found by running the container on Docker Desktop. Disable gunicorn's control
socket (the home directory is read-only) and ignore __pycache__ and .pyc at
any depth so host bytecode with the Windows source path stays out of the image.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Sk72AxLwQnYttF6VFSxQLt
This commit is contained in:
Ebbe Baß
2026-10-15 14:58:32 +02:00
co-authored by Claude Sonnet 5.5
parent f8b0584687
commit 840bea1cba
3 changed files with 9 additions and 4 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
.git
.gitignore
.venv
__pycache__
*.pyc
**/__pycache__
**/*.pyc
.pytest_cache
.ruff_cache
.env