Spaces:
Runtime error
Runtime error
Commit ·
14b223b
1
Parent(s): c65f4df
separate commands
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -21,8 +21,8 @@ RUN pip install --no-cache-dir huggingface_hub
|
|
| 21 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 22 |
|
| 23 |
# 4-bis) Installer Docling et pré-télécharger ses modèles
|
| 24 |
-
RUN pip install --no-cache-dir docling-tools
|
| 25 |
-
|
| 26 |
|
| 27 |
# 5) Pré-créer model_cache et HF_HOME, puis chown
|
| 28 |
RUN mkdir -p /home/user/app/model_cache $HF_HUB_CACHE \
|
|
|
|
| 21 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 22 |
|
| 23 |
# 4-bis) Installer Docling et pré-télécharger ses modèles
|
| 24 |
+
RUN pip install --no-cache-dir docling-tools
|
| 25 |
+
RUN docling-tools models download
|
| 26 |
|
| 27 |
# 5) Pré-créer model_cache et HF_HOME, puis chown
|
| 28 |
RUN mkdir -p /home/user/app/model_cache $HF_HUB_CACHE \
|