pictuga 2020-04-19 13:20:11 +02:00
parent 41a63900c2
commit 2cf7481f7b
1 changed files with 4 additions and 3 deletions

View File

@ -1,8 +1,9 @@
FROM alpine:latest FROM alpine:latest
RUN apk add python3 py3-lxml py3-pip git RUN apk add python3 py3-lxml py3-gunicorn py3-pip git
RUN pip3 install gunicorn ADD . /app
RUN pip3 install git+https://git.pictuga.com/pictuga/morss.git@master WORKDIR /app
RUN pip3 install .
CMD gunicorn --bind 0.0.0.0:8080 -w 4 morss:cgi_standalone_app CMD gunicorn --bind 0.0.0.0:8080 -w 4 morss:cgi_standalone_app