Add gevent to for deployment to get the latest one
continuous-integration/drone/push Build is passing Details

master
pictuga 2021-11-23 20:07:56 +01:00
parent deffeebd85
commit 4dd77b4bcc
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ FROM alpine:latest
RUN apk add --no-cache python3 py3-lxml py3-pip py3-wheel git
ADD . /app
RUN pip3 install --no-cache-dir /app[full] gunicorn
RUN pip3 install --no-cache-dir /app[full] gunicorn gevent
USER 1000:1000

View File

@ -120,7 +120,7 @@ write_files:
runcmd:
- update-ca-certificates
- pip install git+https://git.pictuga.com/pictuga/morss.git#[full] gunicorn
- pip install git+https://git.pictuga.com/pictuga/morss.git#[full] gunicorn gevent
- gunicorn --bind 0.0.0.0:${PORT:-8000} --workers 4 --worker-class=gevent --preload --access-logfile - morss
```