Compare commits
3 Commits
4dd77b4bcc
...
528b3448e4
Author | SHA1 | Date |
---|---|---|
pictuga | 528b3448e4 | |
pictuga | f627f1b12b | |
pictuga | 53fd97651e |
|
@ -1,9 +1,9 @@
|
||||||
FROM alpine:latest
|
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
|
ADD . /app
|
||||||
RUN pip3 install --no-cache-dir /app[full] gunicorn gevent
|
RUN pip3 install --no-cache-dir /app[full] gunicorn
|
||||||
|
|
||||||
USER 1000:1000
|
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)
|
Full installation (including optional dependencies)
|
||||||
|
|
||||||
```shell
|
```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).
|
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
|
#cloud-config
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
- python-pip
|
- python3-pip
|
||||||
- python-lxml
|
- python3-wheels
|
||||||
- python-wheels
|
- python3-lxml
|
||||||
|
- python3-gevent
|
||||||
- git
|
- git
|
||||||
- ca-certificates
|
- ca-certificates
|
||||||
|
|
||||||
|
@ -120,7 +121,7 @@ write_files:
|
||||||
|
|
||||||
runcmd:
|
runcmd:
|
||||||
- update-ca-certificates
|
- 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
|
- gunicorn --bind 0.0.0.0:${PORT:-8000} --workers 4 --worker-class=gevent --preload --access-logfile - morss
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue