pjxcharya commited on
Commit
0bc51f1
·
verified ·
1 Parent(s): 40518b9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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 ["gunicorn", "--worker-class", "eventlet", "-w", "1", "--bind", "0.0.0.0:${PORT}", "--timeout", "0", "app:app"]
 
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