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
@@ -9,4 +9,5 @@ exec gunicorn portal.config.wsgi:application \
|
||||
--threads 4 \
|
||||
--preload \
|
||||
--worker-tmp-dir /tmp \
|
||||
--error-logfile -
|
||||
--error-logfile - \
|
||||
--no-control-socket
|
||||
|
||||
Reference in New Issue
Block a user