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:
co-authored by
Claude Sonnet 5.5
parent
f8b0584687
commit
840bea1cba
+2
-2
@@ -1,8 +1,8 @@
|
||||
.git
|
||||
.gitignore
|
||||
.venv
|
||||
__pycache__
|
||||
*.pyc
|
||||
**/__pycache__
|
||||
**/*.pyc
|
||||
.pytest_cache
|
||||
.ruff_cache
|
||||
.env
|
||||
|
||||
Reference in New Issue
Block a user