Spaces:
Paused
Paused
Update Dockerfile
Browse files- 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"]
|