forked from Ponysearch/Ponysearch
Use fasttext-predict instead of fasttext or fasttext-wheel
See https://github.com/searxng/fasttext-predict
This commit is contained in:
parent
b927482195
commit
ec4237586d
2 changed files with 1 additions and 4 deletions
|
@ -36,7 +36,6 @@ RUN apk add --no-cache -t build-dependencies \
|
||||||
su-exec \
|
su-exec \
|
||||||
python3 \
|
python3 \
|
||||||
py3-pip \
|
py3-pip \
|
||||||
py3-numpy \
|
|
||||||
libxml2 \
|
libxml2 \
|
||||||
libxslt \
|
libxslt \
|
||||||
openssl \
|
openssl \
|
||||||
|
@ -44,8 +43,6 @@ RUN apk add --no-cache -t build-dependencies \
|
||||||
uwsgi \
|
uwsgi \
|
||||||
uwsgi-python3 \
|
uwsgi-python3 \
|
||||||
brotli \
|
brotli \
|
||||||
&& pip3 install --no-cache setuptools wheel \
|
|
||||||
&& sed -i s/fasttext-wheel/fasttext/ requirements.txt \
|
|
||||||
&& pip3 install --no-cache -r requirements.txt \
|
&& pip3 install --no-cache -r requirements.txt \
|
||||||
&& apk del build-dependencies \
|
&& apk del build-dependencies \
|
||||||
&& rm -rf /root/.cache
|
&& rm -rf /root/.cache
|
||||||
|
|
|
@ -15,4 +15,4 @@ setproctitle==1.3.2
|
||||||
redis==4.4.0
|
redis==4.4.0
|
||||||
markdown-it-py==2.1.0
|
markdown-it-py==2.1.0
|
||||||
typing_extensions==4.4.0
|
typing_extensions==4.4.0
|
||||||
fasttext-wheel==0.9.2
|
fasttext-predict==0.9.2.1
|
||||||
|
|
Loading…
Reference in a new issue