Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -26,10 +26,10 @@ COPY . .
|
|
| 26 |
|
| 27 |
EXPOSE 7860
|
| 28 |
|
| 29 |
-
RUN
|
| 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"]
|
|
|
|
| 26 |
|
| 27 |
EXPOSE 7860
|
| 28 |
|
| 29 |
+
RUN pipenv install git+https://github.com/KuntilBogel/EnkaNetwork.py
|
| 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"]
|