pauri32 commited on
Commit
a38f678
1 Parent(s): 43cf821

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -4,4 +4,7 @@ COPY ./requirements.txt /app/requirements.txt
4
 
5
  RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
6
 
7
- COPY ./app /app
 
 
 
 
4
 
5
  RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
6
 
7
+ COPY ./app /app
8
+
9
+ # Start the FastAPI app on port 7860, the default port expected by Spaces
10
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]