Chandima Prabhath commited on
Commit
bf0f90f
·
1 Parent(s): 10b392a

Update CMD instructions in Dockerfile to ensure ingestion script runs first

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -9,9 +9,9 @@ WORKDIR /app
9
  COPY --chown=user ./requirements.txt requirements.txt
10
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
11
 
12
- EXPOSE 7860
13
 
14
  COPY --chown=user . /app
15
  ENV PYTHONPATH=/app
16
- ENV HOST=0.0.0.0 PORT=7860
17
- CMD ["python", "scripts/run_query_api.py"]
 
9
  COPY --chown=user ./requirements.txt requirements.txt
10
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
11
 
12
+ EXPOSE 8000
13
 
14
  COPY --chown=user . /app
15
  ENV PYTHONPATH=/app
16
+ CMD ["python", "scripts/run_ingestion.py"]
17
+ CMD ["python", "scripts/run_query_api.py"]