nice-bill commited on
Commit
f80b2f3
·
1 Parent(s): b89831e

Precompute clusters during build to fix slow startup

Browse files
Files changed (1) hide show
  1. 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