From 4dd77b4bcc3b8c1d228c8fd23530f76a82e38e2f Mon Sep 17 00:00:00 2001 From: pictuga Date: Tue, 23 Nov 2021 20:07:56 +0100 Subject: [PATCH] Add gevent to for deployment to get the latest one --- Dockerfile | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5c63992..d988dc5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/README.md b/README.md index c838165..5bf3bb2 100644 --- a/README.md +++ b/README.md @@ -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 ```