Minifigures commited on
Commit
722a445
·
verified ·
1 Parent(s): 830d17d

fix: LFS pointer bootstrap (Dockerfile)

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -29,5 +29,6 @@ RUN pip install --no-cache-dir --no-deps . \
29
  EXPOSE 8000
30
 
31
  # Standalone runs (e.g. Hugging Face Spaces, which runs containers as uid 1000)
32
- # seed the demo data before serving; compose overrides this with the same chain.
33
- CMD ["sh", "-c", "python -m scripts.seed && uvicorn app.main:get_application --factory --host 0.0.0.0 --port 8000"]
 
 
29
  EXPOSE 8000
30
 
31
  # Standalone runs (e.g. Hugging Face Spaces, which runs containers as uid 1000)
32
+ # materialize any LFS-pointer assets, seed the demo data, then serve; compose
33
+ # overrides this with its own seed-and-serve chain.
34
+ CMD ["sh", "-c", "python -m scripts.bootstrap_assets && python -m scripts.seed && uvicorn app.main:get_application --factory --host 0.0.0.0 --port 8000"]