Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +6 -4
Dockerfile
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
# ----------------------------------------------------
|
| 2 |
# Dockerfile n8n + Supabase + IA Audio/Video (Base DEBIAN 12)
|
| 3 |
-
# FIX :
|
| 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 |
-
#
|
| 52 |
-
RUN python3 -m pip install --upgrade pip setuptools wheel
|
| 53 |
-
|
|
|
|
|
|
|
| 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 \
|