morss/Dockerfile

11 lines
236 B
Docker
Raw Normal View History

2020-04-18 15:04:44 +00:00
FROM alpine:latest
RUN apk add --no-cache python3 py3-lxml py3-pip py3-wheel git
2020-04-18 15:04:44 +00:00
2020-04-19 11:25:53 +00:00
ADD . /app
2021-09-11 19:35:14 +00:00
RUN pip3 install --no-cache-dir /app[full] gunicorn
2020-04-18 15:04:44 +00:00
2021-10-19 20:20:44 +00:00
USER 1000:1000
2021-10-19 20:19:59 +00:00
CMD gunicorn --bind 0.0.0.0:8000 -w 4 --preload --access-logfile - morss