From 07ecae67fee1ee30f7dd47509e98e2ca2a4a5b96 Mon Sep 17 00:00:00 2001 From: Hugo Pierret Date: Sun, 28 Sep 2025 15:58:29 +0200 Subject: [PATCH] Fix gunicorn app --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 729428b..36c1b55 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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()'"]