From 6ebd69422d6f8cd7583299490c178f3d7a5a67d1 Mon Sep 17 00:00:00 2001 From: Hugo Pierret Date: Mon, 6 Oct 2025 18:50:18 +0200 Subject: [PATCH] reduce specs and augment timeout --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 28af07b..a54e14e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,10 +20,10 @@ EXPOSE 5000 # Variable d'environnement par défaut ENV FLASK_ENV=production -ENV GUNICORN_WORKERS=5 -ENV GUNICORN_THREADS=4 +ENV GUNICORN_WORKERS=2 +ENV GUNICORN_THREADS=2 ENV GUNICORN_WORKER_CLASS=gevent -ENV GUNICORN_TIMEOUT=60 +ENV GUNICORN_TIMEOUT=300 # Commande de démarrage via gunicorn (attache l'app Flask : app:app) # Utilise timeout raisonnable, bind sur 0.0.0.0:5000