From 1df7cab04d1955d390c66694cd151c5dee5597cf Mon Sep 17 00:00:00 2001 From: Sergey Kolesnikov Date: Wed, 3 Jun 2020 14:16:23 +0300 Subject: [PATCH] Dockerfile cleanup --- app/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/Dockerfile b/app/Dockerfile index 68711629..f349b033 100644 --- a/app/Dockerfile +++ b/app/Dockerfile @@ -9,7 +9,9 @@ ENV PYTHONUNBUFFERED 1 # install psycopg2 dependencies RUN apt-get update \ - && apt-get install --no-install-recommends -y python3-dev libpq-dev unixodbc-dev + && apt-get install --no-install-recommends -y python3-dev libpq-dev unixodbc-dev \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* # install dependencies RUN pip install --upgrade pip setuptools