Use hopefully more-up-to-date pip gunicorn

master
pictuga 2020-10-03 21:59:43 +02:00
parent 891c385b69
commit 18ec10fe44
1 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,8 @@
FROM alpine:latest FROM alpine:latest
RUN apk add --no-cache python3 py3-lxml py3-gunicorn py3-pip py3-wheel git RUN apk add --no-cache python3 py3-lxml py3-pip py3-wheel git
ADD . /app ADD . /app
RUN pip3 install --no-cache-dir /app RUN pip3 install --no-cache-dir /app gunicorn
CMD gunicorn --bind 0.0.0.0:8080 -w 4 --preload morss CMD gunicorn --bind 0.0.0.0:8080 -w 4 --preload morss