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"
9
9
ENV APP_PORT="8000"
10
10
ENV APPLICATION_DIR="/srv/application"
11
11
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
13
13
14
14
EXPOSE $APP_PORT
15
15
ADD start-gunicorn.sh /home/app/start-gunicorn.sh
16
- # RUN chmod +x /home/app/start-gunicorn.sh
17
16
18
17
CMD /home/app/start-gunicorn.sh
Original file line number Diff line number Diff line change 12
12
13
13
gunicorn $APP_MODULE \
14
14
--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 \
18
19
--log-level=$APP_LOG_LEVEL \
19
20
--log-file=" -" \
20
21
--chdir=$APPLICATION_DIR
You can’t perform that action at this time.
0 commit comments