Compare commits

...

3 Commits

Author SHA1 Message Date
pictuga 528b3448e4 Get gevents from pkgs (long to build)
continuous-integration/drone/push Build is passing Details
2021-11-23 20:14:22 +01:00
pictuga f627f1b12b cloud-init: rename py3 packages for ubuntu 2021-11-23 20:13:40 +01:00
pictuga 53fd97651e Fix [full] install instructions 2021-11-23 20:09:52 +01:00
2 changed files with 8 additions and 7 deletions

View File

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

View File

@ -57,7 +57,7 @@ pip install git+https://git.pictuga.com/pictuga/morss.git
Full installation (including optional dependencies)
```shell
pip install git+https://git.pictuga.com/pictuga/morss.git#[full]
pip install git+https://git.pictuga.com/pictuga/morss.git#egg=morss[full]
```
The full install includes mysql, redis and diskcache (possible cache backends).
@ -105,9 +105,10 @@ Providers supporting `cloud-init` (AWS, Oracle Cloud Infrastructure), based on U
#cloud-config
packages:
- python-pip
- python-lxml
- python-wheels
- python3-pip
- python3-wheels
- python3-lxml
- python3-gevent
- git
- ca-certificates
@ -120,7 +121,7 @@ write_files:
runcmd:
- update-ca-certificates
- pip install git+https://git.pictuga.com/pictuga/morss.git#[full] gunicorn gevent
- pip install git+https://git.pictuga.com/pictuga/morss.git#egg=morss[full] gunicorn gevent
- gunicorn --bind 0.0.0.0:${PORT:-8000} --workers 4 --worker-class=gevent --preload --access-logfile - morss
```