Fix gunicorn app
This commit is contained in:
@@ -25,4 +25,4 @@ ENV GUNICORN_THREADS=2
|
||||
|
||||
# Commande de démarrage via gunicorn (attache l'app Flask : app:app)
|
||||
# Utilise timeout raisonnable, bind sur 0.0.0.0:5000
|
||||
CMD ["sh", "-c", "gunicorn --workers ${GUNICORN_WORKERS} --threads ${GUNICORN_THREADS} --bind 0.0.0.0:5000 --access-logfile - --error-logfile - 'main:app'"]
|
||||
CMD ["sh", "-c", "gunicorn --workers ${GUNICORN_WORKERS} --threads ${GUNICORN_THREADS} --bind 0.0.0.0:5000 --access-logfile - --error-logfile - 'main:create_app()'"]
|
||||
|
||||
Reference in New Issue
Block a user