This commit is contained in:
Joseph Cheung 2023-03-01 00:35:32 +08:00
parent 99c077cd5e
commit a1adf4df86
3 changed files with 3 additions and 5 deletions

View file

@ -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 \

View file

@ -23,6 +23,4 @@ coloredlogs==15.0.1
requests
markdown
tiktoken
scipy
numpy
git+https://github.com/luxtiasco/TextRank4ZH.git

View file

@ -19,6 +19,4 @@ fasttext-predict==0.9.2.1
requests
markdown
tiktoken
scipy
numpy
git+https://github.com/luxtiasco/TextRank4ZH.git