From dd6b0e0e83b27191a2c27a82104b9c0d61cf1e05 Mon Sep 17 00:00:00 2001 From: stratholme Date: Fri, 14 Aug 2020 16:52:08 +0200 Subject: [PATCH] Slim down image --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index bf290ad..8c23cbb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,9 @@ FROM debian:buster -RUN apt-get update && apt-get install -y python3 python3-requests cron +RUN \ + apt-get update && \ + apt-get install -y python3 python3-requests cron && \ + apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* ADD files/main.py /main.py