muryshev commited on
Commit
be1e998
1 Parent(s): 58854a9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -0
Dockerfile CHANGED
@@ -16,4 +16,5 @@ RUN pip3 install -r requirements.txt
16
  RUN pip install fastapi uvicorn
17
 
18
  # CMD ["python", "app.py"]
 
19
  CMD ["python", "-m", "uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
 
16
  RUN pip install fastapi uvicorn
17
 
18
  # CMD ["python", "app.py"]
19
+ CMD ["huggingface-cli", "login", "--token", "$HUGGINGFACE_TOKEN"]
20
  CMD ["python", "-m", "uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]