Update Dockerfile
#2
by
Dekode
- opened
- 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"]
|