Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -31,6 +31,6 @@ RUN pipenv run pip install git+https://github.com/KuntilBogel/EnkaNetwork.py fas
|
|
| 31 |
|
| 32 |
# CMD pipenv run python update.py
|
| 33 |
# CMD pipenv run python -m gunicorn main:app -b 0.0.0.0:7860 -w 8 --timeout 600
|
| 34 |
-
CMD ["sh", "-c", "pipenv run python -m gunicorn main:app -b 0.0.0.0:7860 -w 8 --timeout 600"]
|
| 35 |
|
| 36 |
-
|
|
|
|
| 31 |
|
| 32 |
# CMD pipenv run python update.py
|
| 33 |
# CMD pipenv run python -m gunicorn main:app -b 0.0.0.0:7860 -w 8 --timeout 600
|
| 34 |
+
# CMD ["sh", "-c", "pipenv run python -m gunicorn main:app -b 0.0.0.0:7860 -w 8 --timeout 600"]
|
| 35 |
|
| 36 |
+
CMD [ "pipenv", "run", "python", "-m", "uvicorn", "main:app", "-b", "0.0.0.0:7860", "-w", "8", "--timeout", "600"]
|