Update Dockerfile

This commit is contained in:
Joseph Cheung 2023-03-01 00:50:48 +08:00
parent dd1a9c0a3c
commit 0c43725483

View file

@ -17,8 +17,7 @@ ENV INSTANCE_NAME=searxng \
GPTKEY= \ GPTKEY= \
GPTORG= \ GPTORG= \
SEARXNG_SETTINGS_PATH=/etc/searxng/settings.yml \ SEARXNG_SETTINGS_PATH=/etc/searxng/settings.yml \
UWSGI_SETTINGS_PATH=/etc/searxng/uwsgi.ini \ UWSGI_SETTINGS_PATH=/etc/searxng/uwsgi.ini
PATH="/root/.cargo/bin:${PATH}"
WORKDIR /usr/local/searxng WORKDIR /usr/local/searxng
@ -35,7 +34,6 @@ RUN apk add --no-cache -t build-dependencies \
tar \ tar \
&& apk add --no-cache \ && apk add --no-cache \
git \ git \
curl \
ca-certificates \ ca-certificates \
su-exec \ su-exec \
python3 \ python3 \
@ -49,7 +47,6 @@ RUN apk add --no-cache -t build-dependencies \
brotli \ brotli \
py3-scipy \ py3-scipy \
py3-numpy \ py3-numpy \
&& curl https://sh.rustup.rs -sSf | sh -s -- -y \
&& 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