Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +5 -0
Dockerfile
CHANGED
|
@@ -125,6 +125,11 @@ RUN pip install --upgrade pip
|
|
| 125 |
# ✅ PATCH SÉCURITÉ : Réinstaller uvicorn explicitement
|
| 126 |
RUN pip install uvicorn
|
| 127 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 128 |
# ===== EXPOSITION DU PORT =====
|
| 129 |
EXPOSE 7860
|
| 130 |
|
|
|
|
| 125 |
# ✅ PATCH SÉCURITÉ : Réinstaller uvicorn explicitement
|
| 126 |
RUN pip install uvicorn
|
| 127 |
|
| 128 |
+
RUN rm -rf /root/.cache/pip && pip install --no-cache-dir -r requirements.txt
|
| 129 |
+
|
| 130 |
+
docker build --no-cache -t chonkie-api .
|
| 131 |
+
|
| 132 |
+
|
| 133 |
# ===== EXPOSITION DU PORT =====
|
| 134 |
EXPOSE 7860
|
| 135 |
|