Watchhrr commited on
Commit
a3784ec
·
verified ·
1 Parent(s): 5f22a75

Upload Dockerfile with huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -1
Dockerfile CHANGED
@@ -1 +1,6 @@
1
- FROM python:3.9\nWORKDIR /code\nCOPY . .\nRUN pip install fastapi uvicorn pandas\nCMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
 
 
 
 
 
1
+ FROM python:3.9
2
+ WORKDIR /code
3
+ COPY . .
4
+ RUN pip install --no-cache-dir fastapi uvicorn pandas huggingface_hub
5
+ EXPOSE 7860
6
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]