mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
Update Dockerfile
This commit is contained in:
parent
dd1a9c0a3c
commit
0c43725483
1 changed files with 2 additions and 5 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue