Update Dockerfile (#2)
Browse files- Update Dockerfile (3a8f9e78b500e325651f2656e56758fc064de255)
Co-authored-by: Pratik Dwivedi <Dekode@users.noreply.huggingface.co>
- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -28,4 +28,4 @@ COPY --chown=user . $HOME/app
|
|
28 |
EXPOSE 7755
|
29 |
|
30 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
31 |
-
CMD ["gunicorn","-k"," uvicorn.workers.UvicornWorker","app:app"]
|
|
|
28 |
EXPOSE 7755
|
29 |
|
30 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
31 |
+
CMD ["gunicorn","-k"," uvicorn.workers.UvicornWorker", "--bind", "0.0.0.0:7755", "app:app"]
|