Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -39,4 +39,4 @@ ENV PORT 8080
|
|
| 39 |
ENV MPLCONFIGDIR /tmp/matplotlib_config_cache
|
| 40 |
|
| 41 |
# Run app.py when the container launches using Gunicorn WSGI server
|
| 42 |
-
CMD
|
|
|
|
| 39 |
ENV MPLCONFIGDIR /tmp/matplotlib_config_cache
|
| 40 |
|
| 41 |
# Run app.py when the container launches using Gunicorn WSGI server
|
| 42 |
+
CMD exec gunicorn --worker-class eventlet -w 1 --bind "0.0.0.0:$PORT" --timeout 0 app:app
|