morss/Dockerfile

11 lines
236 B
Docker
Raw Normal View History

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