Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -15,5 +15,5 @@ WORKDIR backend/
|
|
15 |
RUN pip install --no-cache-dir --upgrade -r ./requirements.txt
|
16 |
|
17 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
18 |
-
|
19 |
-
CMD ["gunicorn", "--workers", "1", "bind=0.0.0.0:8000", "--log-level", "warning", "main:app"]
|
|
|
15 |
RUN pip install --no-cache-dir --upgrade -r ./requirements.txt
|
16 |
|
17 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
18 |
+
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
19 |
+
# CMD ["gunicorn", "--workers", "1", "bind=0.0.0.0:8000", "--log-level", "warning", "main:app"]
|