mrisdi commited on
Commit
e326569
1 Parent(s): c0b60ba

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -12,4 +12,4 @@ RUN pip install --no-cache-dir --upgrade -r /requirements.txt
12
  RUN apt-get update && apt-get install -y libgl1 && apt-get install -y python3-opencv
13
 
14
  # Start the FastAPI app on port 7860, the default port expected by Spaces
15
- CMD ["fastapi", "dev", "app.py"]
 
12
  RUN apt-get update && apt-get install -y libgl1 && apt-get install -y python3-opencv
13
 
14
  # Start the FastAPI app on port 7860, the default port expected by Spaces
15
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]