Commit ·
63de47e
1
Parent(s): 337cedc
Fix HF CMD: Use --count instead of --max_images
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -20,4 +20,4 @@ ENV PORT=8000
|
|
| 20 |
EXPOSE $PORT
|
| 21 |
|
| 22 |
# Create data dir and run scripts on startup
|
| 23 |
-
CMD ["sh", "-c", "mkdir -p ./data/images && python scripts/create_sample_data.py --
|
|
|
|
| 20 |
EXPOSE $PORT
|
| 21 |
|
| 22 |
# Create data dir and run scripts on startup
|
| 23 |
+
CMD ["sh", "-c", "mkdir -p ./data/images && python scripts/create_sample_data.py --count 2000 && python scripts/index_dataset.py && uvicorn app.main:app --host 0.0.0.0 --port 7860"]
|