Add cchardet to dockerfile
This commit is contained in:
parent
f0a3fa354d
commit
368928f948
@ -55,7 +55,7 @@ WORKDIR /opt/maubot
|
|||||||
RUN apk add --virtual .build-deps python3-dev build-base git \
|
RUN apk add --virtual .build-deps python3-dev build-base git \
|
||||||
&& sed -Ei 's/psycopg2-binary.+//' optional-requirements.txt \
|
&& sed -Ei 's/psycopg2-binary.+//' optional-requirements.txt \
|
||||||
&& pip3 install -r requirements.txt -r 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
|
&& apk del .build-deps
|
||||||
# TODO also remove dateparser, langdetect and pyquery when maubot supports installing dependencies
|
# TODO also remove dateparser, langdetect and pyquery when maubot supports installing dependencies
|
||||||
|
|
||||||
|
@ -49,7 +49,7 @@ WORKDIR /opt/maubot
|
|||||||
RUN apk add --virtual .build-deps python3-dev build-base git \
|
RUN apk add --virtual .build-deps python3-dev build-base git \
|
||||||
&& sed -Ei 's/psycopg2-binary.+//' optional-requirements.txt \
|
&& sed -Ei 's/psycopg2-binary.+//' optional-requirements.txt \
|
||||||
&& pip3 install -r requirements.txt -r 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
|
&& apk del .build-deps
|
||||||
# TODO also remove dateparser, langdetect and pyquery when maubot supports installing dependencies
|
# TODO also remove dateparser, langdetect and pyquery when maubot supports installing dependencies
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user