Zhu-FaceOnLive commited on
Commit
1a69f6c
1 Parent(s): 5f0f624

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -25,5 +25,5 @@ RUN chmod -R 777 ./model/
25
 
26
  RUN pip3 install -r requirements.txt
27
  RUN chmod a+x run.sh
28
- CMD ["sh", "./run.sh"]
29
  EXPOSE 7860
 
25
 
26
  RUN pip3 install -r requirements.txt
27
  RUN chmod a+x run.sh
28
+ CMD (cd /app && exec python3 app.py & sleep 10 && exec python3 demo.py)
29
  EXPOSE 7860