diff --git a/production/docker-compose.yaml b/production/docker-compose.yaml index 09c0161..5b40888 100644 --- a/production/docker-compose.yaml +++ b/production/docker-compose.yaml @@ -37,11 +37,11 @@ services: redis: condition: service_healthy webapp: - build: - context: ./webapp - dockerfile: ./Dockerfile - image: local.io/webapp-transcriptor:local - #image: ghcr.io/guillaume-chervet/transcriptor-api:0.77.26 + # build: + # context: ./webapp + # dockerfile: ./Dockerfile + #image: local.io/webapp-transcriptor:local + image: ghcr.io/guillaume-chervet/transcriptor-webapp:0.77.28 restart: "no" ports: - "4000:8080" diff --git a/production/ia-worker/Dockerfile b/production/ia-worker/Dockerfile index 857e302..bf1acc8 100644 --- a/production/ia-worker/Dockerfile +++ b/production/ia-worker/Dockerfile @@ -68,5 +68,8 @@ USER appuser # Ajouter l'environnement virtuel au PATH ENV PATH="/usr/local/bin:${PATH}" +RUN pyhton -c "import whisper \ +whisper.load_model('small')" + # Commande pour démarrer l'application CMD ["python", "./app/main.py"]