2020-04-18 15:04:44 +00:00
|
|
|
FROM alpine:latest
|
|
|
|
|
2020-04-19 11:20:11 +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:20:11 +00:00
|
|
|
ADD . /app
|
|
|
|
WORKDIR /app
|
|
|
|
RUN pip3 install .
|
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
|