hunkim commited on
Commit
e5709bf
·
1 Parent(s): 4ffd5f1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -27,4 +27,4 @@ COPY . .
27
 
28
 
29
  # Run Elasticsearch and application
30
- CMD ["/bin/bash", "-c", "/usr/share/elasticsearch/bin/elasticsearch & uvicorn app:app --host 0.0.0.0 --port 7860"]
 
27
 
28
 
29
  # Run Elasticsearch and application
30
+ CMD ["/bin/bash", "-c", "/usr/share/elasticsearch/bin/elasticsearch && python3 crawl_index.py && uvicorn app:app --host 0.0.0.0 --port 7860"]