Browse Source

docker: pip install local

master
pictuga 2 months ago
parent
commit
285e1e5f42
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      Dockerfile

+ 3
- 3
Dockerfile View File

@@ -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

Loading…
Cancel
Save