Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -23,5 +23,5 @@ COPY --chown=user . /app
|
|
| 23 |
# Expose the port 7860 as in the original Dockerfile
|
| 24 |
EXPOSE 7860
|
| 25 |
|
| 26 |
-
# Start the application using
|
| 27 |
-
CMD ["
|
|
|
|
| 23 |
# Expose the port 7860 as in the original Dockerfile
|
| 24 |
EXPOSE 7860
|
| 25 |
|
| 26 |
+
# Start the application using gunicorn on port 7860
|
| 27 |
+
CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:7860", "app:app"]
|