Only include specific optionals in pip install in dockerfile

This commit is contained in:
Tulir Asokan
2019-08-07 00:10:02 +03:00
parent 47cf63e0e6
commit 75fc5c6e1e
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -2,3 +2,5 @@
.codeclimate.yml
*.png
*.md
logs
.venv
+2 -1
View File
@@ -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