dieumercimvemba commited on
Commit
f4d934e
·
verified ·
1 Parent(s): 7f08bb2

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -4
Dockerfile CHANGED
@@ -1,6 +1,6 @@
1
  # ----------------------------------------------------
2
  # Dockerfile n8n + Supabase + IA Audio/Video (Base DEBIAN 12)
3
- # FIX : Ajout de Node.js (npm)
4
  # ----------------------------------------------------
5
  # 1. Image de base Debian Bookworm (12)
6
  FROM debian:bookworm-slim
@@ -48,9 +48,11 @@ RUN adduser --disabled-password --gecos "" node \
48
 
49
  # --- INSTALLATIONS CRITIQUES POUR L'IA AUDIO (TTS et Whisper) + yt-dlp ---
50
 
51
- # Installer les librairies Python (PyTorch sera trouvé sur cette base Debian 12)
52
- RUN python3 -m pip install --upgrade pip setuptools wheel
53
- RUN python3 -m pip install \
 
 
54
  torch \
55
  transformers \
56
  accelerate \
 
1
  # ----------------------------------------------------
2
  # Dockerfile n8n + Supabase + IA Audio/Video (Base DEBIAN 12)
3
+ # FIX FINAL : Utilisation de --break-system-packages sur les deux commandes pip
4
  # ----------------------------------------------------
5
  # 1. Image de base Debian Bookworm (12)
6
  FROM debian:bookworm-slim
 
48
 
49
  # --- INSTALLATIONS CRITIQUES POUR L'IA AUDIO (TTS et Whisper) + yt-dlp ---
50
 
51
+ # 1. Mise à jour de pip/setuptools (AVEC FIX)
52
+ RUN python3 -m pip install --break-system-packages --upgrade pip setuptools wheel
53
+
54
+ # 2. Installation des librairies Python AI (AVEC FIX)
55
+ RUN python3 -m pip install --break-system-packages \
56
  torch \
57
  transformers \
58
  accelerate \