Arvind2006 commited on
Commit
421331a
·
verified ·
1 Parent(s): 4cf3f1d

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -7,4 +7,8 @@ COPY . .
7
  RUN pip install --upgrade pip
8
  RUN pip install -r requirements.txt
9
 
10
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
 
 
 
 
 
7
  RUN pip install --upgrade pip
8
  RUN pip install -r requirements.txt
9
 
10
+ # IMPORTANT: expose correct port
11
+ EXPOSE 7860
12
+
13
+ # CRITICAL: start FastAPI
14
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]