erreur
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user