Update Dockerfile
Browse files- 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"]
|