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