Spaces:
Sleeping
Sleeping
Precompute clusters during build to fix slow startup
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -54,6 +54,9 @@ RUN /app/.venv/bin/python scripts/download_model.py
|
|
| 54 |
# Download Data (Bake into image)
|
| 55 |
RUN /app/.venv/bin/python scripts/download_data.py
|
| 56 |
|
|
|
|
|
|
|
|
|
|
| 57 |
# Copy Code
|
| 58 |
COPY src/ ./src/
|
| 59 |
|
|
|
|
| 54 |
# Download Data (Bake into image)
|
| 55 |
RUN /app/.venv/bin/python scripts/download_data.py
|
| 56 |
|
| 57 |
+
# Precompute Clusters (Bake into image)
|
| 58 |
+
RUN /app/.venv/bin/python scripts/precompute_clusters.py
|
| 59 |
+
|
| 60 |
# Copy Code
|
| 61 |
COPY src/ ./src/
|
| 62 |
|