@@ -25,8 +25,8 @@ RUN addgroup -g ${SEARX_GID} searx && \
26COPY requirements.txt ./requirements.txt
26COPY requirements.txt ./requirements.txt
28−RUN apk -U upgrade \
28+RUN apk upgrade --no-cache \
29− && apk add -t build-dependencies \
29+ && apk add --no-cache -t build-dependencies \
30 build-base \
30 build-base \
31 py3-setuptools \
31 py3-setuptools \
32 python3-dev \
32 python3-dev \
@@ -36,7 +36,7 @@ RUN apk -U upgrade \
36 openssl-dev \
36 openssl-dev \
39− && apk add \
39+ && apk add --no-cache \
40 ca-certificates \
40 ca-certificates \
@@ -48,8 +48,7 @@ RUN apk -U upgrade \
48 uwsgi-python3 \
48 uwsgi-python3 \
49 && pip3 install --upgrade pip \
49 && pip3 install --upgrade pip \
50 && pip3 install --no-cache -r requirements.txt \
50 && pip3 install --no-cache -r requirements.txt \
51− && apk del build-dependencies \
51+ && apk del build-dependencies
52− && rm -f /var/cache/apk/*
54COPY --chown=searx:searx . .
53COPY --chown=searx:searx . .