From 285e1e5f42b4356687dda253c01fc6d9a88dafc7 Mon Sep 17 00:00:00 2001 From: pictuga Date: Sun, 19 Apr 2020 13:25:53 +0200 Subject: [PATCH] docker: pip install local --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index cd28c10..231388e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ 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 -RUN pip3 install git+https://git.pictuga.com/pictuga/morss.git@master +ADD . /app +RUN pip3 install /app CMD gunicorn --bind 0.0.0.0:8080 -w 4 morss:cgi_standalone_app