Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

Use fasttext-predict instead of fasttext or fasttext-wheel

Alexandre Flamentec4237586db6
diff --git a/Dockerfile b/Dockerfile
index ece20c86b..66f58395d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -36,7 +36,6 @@ RUN apk add --no-cache -t build-dependencies \
su-exec \
python3 \
py3-pip \
- py3-numpy \
libxml2 \
libxslt \
openssl \
@@ -44,8 +43,6 @@ RUN apk add --no-cache -t build-dependencies \
uwsgi \
uwsgi-python3 \
brotli \
- && pip3 install --no-cache setuptools wheel \
- && sed -i s/fasttext-wheel/fasttext/ requirements.txt \
&& pip3 install --no-cache -r requirements.txt \
&& apk del build-dependencies \
&& rm -rf /root/.cache
diff --git a/requirements.txt b/requirements.txt
index 5c45fff6b..ea2616e1a 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -15,4 +15,4 @@ setproctitle==1.3.2
redis==4.4.0
markdown-it-py==2.1.0
typing_extensions==4.4.0
-fasttext-wheel==0.9.2
+fasttext-predict==0.9.2.1