Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -30,5 +30,6 @@ 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 ["pipenv", "run", "python", "update.py", "&&", "pipenv", "run", "python", "-m", "gunicorn", "main:app", "-b", "0.0.0.0:7860", "-w", "8", "--timeout", "600"]
|
|
|
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 |
+
CMD ["sh", "-c", "pipenv run python update.py && pipenv run python -m gunicorn main:app -b 0.0.0.0:7860 -w 8 --timeout 600"]
|
34 |
|
35 |
+
# CMD ["pipenv", "run", "python", "update.py", "&&", "pipenv", "run", "python", "-m", "gunicorn", "main:app", "-b", "0.0.0.0:7860", "-w", "8", "--timeout", "600"]
|