Update Dockerfile

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

View file

@ -17,9 +17,8 @@ ENV INSTANCE_NAME=searxng \
GPTKEY= \
GPTORG= \
SEARXNG_SETTINGS_PATH=/etc/searxng/settings.yml \
UWSGI_SETTINGS_PATH=/etc/searxng/uwsgi.ini \
PATH="/root/.cargo/bin:${PATH}"
UWSGI_SETTINGS_PATH=/etc/searxng/uwsgi.ini
WORKDIR /usr/local/searxng
COPY requirements.txt ./requirements.txt
@ -35,7 +34,6 @@ RUN apk add --no-cache -t build-dependencies \
tar \
&& apk add --no-cache \
git \
curl \
ca-certificates \
su-exec \
python3 \
@ -49,7 +47,6 @@ RUN apk add --no-cache -t build-dependencies \
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 \
&& rm -rf /root/.cache