diff --git a/Dockerfile b/Dockerfile index 25f8d9dec..60ee92838 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.11-alpine3.17 +FROM alpine3.17 ENTRYPOINT ["/sbin/tini","--","/usr/local/searxng/dockerfiles/docker-entrypoint.sh"] EXPOSE 8080 VOLUME /etc/searxng @@ -47,6 +47,8 @@ RUN apk add --no-cache -t build-dependencies \ uwsgi \ uwsgi-python3 \ brotli \ + py3-scipy \ + py3-numpy \ && curl https://sh.rustup.rs -sSf | sh -s -- -y \ && pip3 install --no-cache -r requirements.txt \ && apk del build-dependencies \ diff --git a/requirements-dev.txt b/requirements-dev.txt index 5a76c8889..7c35fb5c8 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -23,6 +23,4 @@ coloredlogs==15.0.1 requests markdown tiktoken -scipy -numpy git+https://github.com/luxtiasco/TextRank4ZH.git \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 842ea2f4d..1ec4823a3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -19,6 +19,4 @@ fasttext-predict==0.9.2.1 requests markdown tiktoken -scipy -numpy git+https://github.com/luxtiasco/TextRank4ZH.git \ No newline at end of file