ambon commited on
Commit
907ddc9
·
verified ·
1 Parent(s): 6df42e3

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -26,10 +26,10 @@ COPY . .
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"]
 
26
 
27
  EXPOSE 7860
28
 
29
+ RUN pipenv run pip install git+https://github.com/KuntilBogel/EnkaNetwork.py fastapi asyncio enkacard uvicorn requests
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 -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"]