From 6f6ce4bcc70a4fb3146acdc904e4dd9ae9906de5 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Mon, 23 Dec 2019 19:44:44 +0200 Subject: [PATCH] Try deleting sources in docker image --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 24c2ee2a..70a351f6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -68,6 +68,8 @@ RUN apk add --no-cache --virtual .build-deps \ # lottieconverter zlib libpng \ && pip3 install .[speedups,hq_thumbnails,metrics] \ + # pip installs the sources to /usr/lib/python3.8/site-packages, so we don't need them here + && rm -rf /opt/mautrix-telegram/mautrix_telegram \ && apk del .build-deps VOLUME /data