Spaces:
Runtime error
Runtime error
fix: LFS pointer bootstrap (Dockerfile)
Browse files- 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
|
| 33 |
-
|
|
|
|
|
|
| 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"]
|