morss/Dockerfile

9 lines
172 B
Docker
Raw Normal View History

2020-04-18 15:04:44 +00:00
FROM alpine:latest
2020-04-19 11:25:53 +00:00
RUN apk add python3 py3-lxml py3-gunicorn py3-pip git
2020-04-18 15:04:44 +00:00
2020-04-19 11:25:53 +00:00
ADD . /app
RUN pip3 install /app
2020-04-18 15:04:44 +00:00
2020-04-18 15:15:59 +00:00
CMD gunicorn --bind 0.0.0.0:8080 -w 4 morss:cgi_standalone_app