Compare commits
3 Commits
4dd77b4bcc
...
528b3448e4
Author | SHA1 | Date |
---|---|---|
pictuga | 528b3448e4 | |
pictuga | f627f1b12b | |
pictuga | 53fd97651e |
|
@ -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
|
||||
|
||||
|
|
11
README.md
11
README.md
|
@ -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
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue