Install e2ee deps in standalone dockerfile

This commit is contained in:
Tulir Asokan 2022-03-28 19:55:40 +03:00
parent 1932ff9995
commit 818362c820

View File

@ -13,7 +13,11 @@ RUN apk add --no-cache \
py3-ruamel.yaml \ py3-ruamel.yaml \
py3-jinja2 \ py3-jinja2 \
py3-packaging \ py3-packaging \
py3-markdown py3-markdown \
py3-cffi \
py3-olm \
py3-pycryptodome \
py3-unpaddedbase64
COPY requirements.txt /opt/maubot/requirements.txt COPY requirements.txt /opt/maubot/requirements.txt
RUN cd /opt/maubot \ RUN cd /opt/maubot \
@ -21,7 +25,7 @@ RUN cd /opt/maubot \
python3-dev \ python3-dev \
libffi-dev \ libffi-dev \
build-base \ build-base \
&& pip3 install -r requirements.txt \ && pip3 install -r requirements.txt -r optional-requirements.txt \
&& apk del .build-deps && apk del .build-deps
COPY . /opt/maubot COPY . /opt/maubot