From 161ce5a509569527d2e275fa4ad403fc4058b3d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20B=C3=B6hlke?= Date: Mon, 7 Nov 2016 07:27:58 +0100 Subject: [PATCH] cleanup build dependencies (wget, pip and apt package cache) --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index b13593148..adf555f73 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,6 +20,10 @@ ADD requirements_production.txt /app/requirements_production.txt RUN pip install -r /app/requirements_production.txt RUN pip install daphne psycopg2 asgi_redis +## Clean up +RUN apt-get remove -y python3-pip wget +RUN rm -rf /var/lib/apt/lists/* + # BUILD APP ADD . /app