File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -9,10 +9,9 @@ ENV APP_LOG_LEVEL="info"
99ENV APP_PORT="8000"
1010ENV APPLICATION_DIR="/srv/application"
1111
12- RUN source /srv/virtenv/bin/activate && pip install gunicorn==19.4.5
12+ RUN source /srv/virtenv/bin/activate && pip install gunicorn==19.6.0 greenlet eventlet
1313
1414EXPOSE $APP_PORT
1515ADD start-gunicorn.sh /home/app/start-gunicorn.sh
16- # RUN chmod +x /home/app/start-gunicorn.sh
1716
1817CMD /home/app/start-gunicorn.sh
Original file line number Diff line number Diff line change 1212
1313gunicorn $APP_MODULE \
1414 --name $APP_PROCESS_NAME \
15- --bind 0.0.0.0:$APP_PORT \
16- --workers $APP_WORKERS_COUNT \
17- --timeout $TIMEOUT \
15+ --bind=0.0.0.0:$APP_PORT \
16+ --workers=$APP_WORKERS_COUNT \
17+ --worker-class=eventlet
18+ --timeout=$TIMEOUT \
1819 --log-level=$APP_LOG_LEVEL \
1920 --log-file=" -" \
2021 --chdir=$APPLICATION_DIR
You can’t perform that action at this time.
0 commit comments