From 891c385b69083dffcb41544e533206e0b93114c1 Mon Sep 17 00:00:00 2001 From: pictuga Date: Sat, 3 Oct 2020 21:59:17 +0200 Subject: [PATCH] Dockerfile: no cache for pip to save space --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 37e012b..d39fa5c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,6 @@ FROM alpine:latest RUN apk add --no-cache python3 py3-lxml py3-gunicorn py3-pip py3-wheel git 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