From 75fc5c6e1e01d9b95d6ab7359e0cd609515355b4 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Wed, 7 Aug 2019 00:10:02 +0300 Subject: [PATCH] Only include specific optionals in pip install in dockerfile --- .dockerignore | 2 ++ Dockerfile | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.dockerignore b/.dockerignore index ec191c92..1f625fe0 100644 --- a/.dockerignore +++ b/.dockerignore @@ -2,3 +2,5 @@ .codeclimate.yml *.png *.md +logs +.venv diff --git a/Dockerfile b/Dockerfile index d21a3f2c..619fd83b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -38,7 +38,8 @@ RUN apk add --no-cache \ ca-certificates \ su-exec \ git \ - && pip3 install .[all] && pip3 install --upgrade 'git+https://github.com/tulir/mautrix-python@bridge-updates#egg=mautrix' + && pip3 install .[fast_crypto,hq_thumbnails,metrics] \ + && pip3 install --upgrade 'git+https://github.com/tulir/mautrix-python@bridge-updates#egg=mautrix' VOLUME /data