Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -27,4 +27,4 @@ COPY --chown=user . $HOME/app
|
|
27 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
28 |
# CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
29 |
|
30 |
-
CMD gunicorn -k uvicorn.workers.UvicornWorker --workers 2 --threads=2 --max-requests 512 --bind 0.0.0.0:
|
|
|
27 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
28 |
# CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
29 |
|
30 |
+
CMD gunicorn -k uvicorn.workers.UvicornWorker --workers 2 --threads=2 --max-requests 512 --bind 0.0.0.0:7870 app:app
|