From 82ac63f7a7b6d617de5ed0318d49054cdc170ec3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20T=C3=B6tterman?= Date: Wed, 15 Jan 2020 14:10:04 +0200 Subject: [PATCH] Slimmer docker image Also, have you considered python:3-slim or python:3-alpine? --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 96bc4bb..1fa3707 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ FROM python:3 WORKDIR /bot -RUN pip install pipenv +RUN pip install pipenv && rm -rf /root/.cache COPY Pipfile . -RUN pipenv install --pre +RUN pipenv install --pre && rm -rf /root/.cache COPY bot.py *.json *.pickle /bot/ COPY modules modules