Spaces:
Sleeping
Sleeping
Commit ·
f3e22ea
1
Parent(s): 3020394
Fix Dockerfile : copie du dossier monitoring/ manquante
Browse filesapp/main.py importe monitoring.feedback/metrics depuis cette session,
mais le Dockerfile ne copiait que app/ et models/ dans l'image -> le
Space crashait au demarrage (ModuleNotFoundError: No module named
'monitoring').
- Dockerfile +1 -0
Dockerfile
CHANGED
|
@@ -12,6 +12,7 @@ COPY requirements.txt .
|
|
| 12 |
RUN pip install --no-cache-dir --extra-index-url https://download.pytorch.org/whl/cpu -r requirements.txt
|
| 13 |
|
| 14 |
COPY app/ app/
|
|
|
|
| 15 |
COPY models/ models/
|
| 16 |
|
| 17 |
# 7860 = port par défaut attendu par Hugging Face Spaces (Docker SDK)
|
|
|
|
| 12 |
RUN pip install --no-cache-dir --extra-index-url https://download.pytorch.org/whl/cpu -r requirements.txt
|
| 13 |
|
| 14 |
COPY app/ app/
|
| 15 |
+
COPY monitoring/ monitoring/
|
| 16 |
COPY models/ models/
|
| 17 |
|
| 18 |
# 7860 = port par défaut attendu par Hugging Face Spaces (Docker SDK)
|