Compare commits

..

1 Commits

Author SHA1 Message Date
pictuga 4aa5606752 Docker: install from local python package 2020-04-19 13:07:30 +02:00
1 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,8 @@
FROM alpine:latest FROM alpine:latest
RUN apk add python3 py3-lxml py3-gunicorn py3-pip git RUN apk add python3 py3-lxml py3-pip git
ADD . / RUN pip3 install gunicorn
RUN pip3 install / 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