ambon commited on
Commit
a7d265e
·
verified ·
1 Parent(s): fc31fe4

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -28,5 +28,7 @@ EXPOSE 7860
28
 
29
  RUN python -V
30
 
31
- CMD pipenv run python update.py
32
- CMD pipenv run python -m gunicorn main:app -b 0.0.0.0:7860 -w 8 --timeout 600
 
 
 
28
 
29
  RUN python -V
30
 
31
+ # CMD pipenv run python update.py
32
+ # CMD pipenv run python -m gunicorn main:app -b 0.0.0.0:7860 -w 8 --timeout 600
33
+
34
+ CMD ["python", "update.py", "&&", "pipenv", "run", "python", "-m", "gunicorn", "main:app", "-b", "0.0.0.0:7860", "-w", "8", "--timeout", "600"]