Spaces:
Sleeping
Sleeping
Commit ·
a67fae0
1
Parent(s): 28df79c
change in Dockerfile by hardcoding the port
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -19,4 +19,4 @@ COPY main.py .
|
|
| 19 |
|
| 20 |
# 6. Define the command to run your application using Gunicorn
|
| 21 |
# This command points to the 'app' object inside your 'main.py' file within the 'app' module.
|
| 22 |
-
CMD ["/bin/sh", "-c", "gunicorn --bind 0.0.0.0:
|
|
|
|
| 19 |
|
| 20 |
# 6. Define the command to run your application using Gunicorn
|
| 21 |
# This command points to the 'app' object inside your 'main.py' file within the 'app' module.
|
| 22 |
+
CMD ["/bin/sh", "-c", "gunicorn --bind 0.0.0.0:7860 --workers 1 --worker-class uvicorn.workers.UvicornWorker --timeout 0 \"main:app\""]
|