Add cchardet to dockerfile

This commit is contained in:
Tulir Asokan 2021-02-21 21:59:16 +02:00
parent f0a3fa354d
commit 368928f948
2 changed files with 2 additions and 2 deletions

View file

@ -55,7 +55,7 @@ WORKDIR /opt/maubot
RUN apk add --virtual .build-deps python3-dev build-base git \
&& sed -Ei 's/psycopg2-binary.+//' optional-requirements.txt \
&& pip3 install -r requirements.txt -r optional-requirements.txt \
dateparser langdetect python-gitlab pyquery \
dateparser langdetect python-gitlab pyquery cchardet \
&& apk del .build-deps
# TODO also remove dateparser, langdetect and pyquery when maubot supports installing dependencies

View file

@ -49,7 +49,7 @@ WORKDIR /opt/maubot
RUN apk add --virtual .build-deps python3-dev build-base git \
&& sed -Ei 's/psycopg2-binary.+//' optional-requirements.txt \
&& pip3 install -r requirements.txt -r optional-requirements.txt \
dateparser langdetect python-gitlab pyquery \
dateparser langdetect python-gitlab pyquery cchardet \
&& apk del .build-deps
# TODO also remove dateparser, langdetect and pyquery when maubot supports installing dependencies