cleanup build dependencies (wget, pip and apt package cache)

This commit is contained in:
André Böhlke 2016-11-07 07:27:58 +01:00
parent bc321bd714
commit 161ce5a509

View File

@ -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