Prashant Kumar commited on
Commit
74a29f8
1 Parent(s): 20643b2

moved docker entry file to start.sh

Browse files
Files changed (2) hide show
  1. Dockerfile +3 -3
  2. start.sh +4 -0
Dockerfile CHANGED
@@ -3,9 +3,9 @@ FROM python:3.9
3
  WORKDIR /app
4
 
5
  COPY ./requirements.txt /app/
6
- RUN pip install --no-cache-dir --upgrade -r requirements.txt
7
 
8
  COPY . /app/
9
 
10
- CMD ["python", "ingest.py"]
11
- CMD ["chainlit", "run", "model.py" "-w"]
 
3
  WORKDIR /app
4
 
5
  COPY ./requirements.txt /app/
6
+ RUN pip install -r requirements.txt
7
 
8
  COPY . /app/
9
 
10
+ # CMD ["python", "ingest.py"]
11
+ ENTRYPOINT ["sh", "start.sh"]
start.sh ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ python ingest.py
4
+ chainlit run model.py -w