Dockerfile: no cache for pip to save space

master
pictuga 2020-10-03 21:59:17 +02:00
parent 0629bb98fb
commit 891c385b69
1 changed files with 1 additions and 1 deletions

View File

@ -3,6 +3,6 @@ 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-gunicorn py3-pip py3-wheel git
ADD . /app ADD . /app
RUN pip3 install /app RUN pip3 install --no-cache-dir /app
CMD gunicorn --bind 0.0.0.0:8080 -w 4 --preload morss CMD gunicorn --bind 0.0.0.0:8080 -w 4 --preload morss