ambon commited on
Commit
5548a5d
·
verified ·
1 Parent(s): 3ed2dd1

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 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
  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"]