Fix empty reply: remove gunicorn preload, isolate DB init from workers

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-06 23:00:43 +03:00
parent 5353c82066
commit e334a7b32c
4 changed files with 32 additions and 18 deletions
+1 -1
View File
@@ -28,4 +28,4 @@ ENV GIT_CONFIG_VALUE_0=/repo
EXPOSE 8000
ENTRYPOINT ["/app/entrypoint.sh"]
CMD ["gunicorn", "--bind", "0.0.0.0:8000", "--workers", "2", "--timeout", "120", "--preload", "wsgi:app"]
CMD ["gunicorn", "-c", "gunicorn.conf.py", "wsgi:app"]