From da5fadcae38ed1c850a9ff5943e8b737a848dbf8 Mon Sep 17 00:00:00 2001 From: nicoboy Date: Tue, 24 Feb 2026 18:44:23 +0100 Subject: [PATCH] erreur --- docker-compose.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index e123c9f..01ff38c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,3 @@ -version: '3.8' - services: # --- LE PORTIER --- gateway: @@ -53,18 +51,18 @@ services: - studio-net restart: always - # --- LE SERVICE AUDIO (Utilise ton Dockerfile) --- + # --- LE SERVICE AUDIO --- audio-api: build: context: ./services/audio-api dockerfile: Dockerfile container_name: audio-api - # --- LES DEUX LIGNES CRUCIALES ICI --- - entrypoint: ["python3.11", "server.py"] - command: [] - # ------------------------------------- + # Force Python à sortir les logs immédiatement environment: - NVIDIA_VISIBLE_DEVICES=all + - PYTHONUNBUFFERED=1 + # On utilise le chemin absolu dans le container pour être sûr + entrypoint: ["python3.11", "/app/server.py"] volumes: - ./services/audio-api:/app - ./models:/app/models