SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
Python bingbravedegoogleduckduckgogooglemetasearchprivacypythonqwantsearchsearch-enginesearxsearxngstartpageyahoo
Reduce Docker image size
ngosang9417c284d3ba
diff --git a/Dockerfile b/Dockerfileindex 64aa8bcef..71e27f0f6 100644--- a/Dockerfile+++ b/Dockerfile@@ -45,21 +45,21 @@ RUN apk upgrade --no-cache \uwsgi \uwsgi-python3 \brotli \- && pip3 install --upgrade pip wheel setuptools \&& pip3 install --no-cache -r requirements.txt \&& apk del build-dependencies \- && rm -rf /root/.cache+ && rm -rf /root/.cache \+ && find /usr/lib/python*/ -name '*.pyc' -delete-COPY --chown=searxng:searxng . .+COPY --chown=searxng:searxng dockerfiles ./dockerfiles+COPY --chown=searxng:searxng searx ./searxARG TIMESTAMP_SETTINGS=0ARG TIMESTAMP_UWSGI=0ARG VERSION_GITCOMMIT=unknown-RUN su searxng -c "/usr/bin/python3 -m compileall -q searx"; \- touch -c --date=@${TIMESTAMP_SETTINGS} searx/settings.yml; \- touch -c --date=@${TIMESTAMP_UWSGI} dockerfiles/uwsgi.ini; \- find /usr/local/searxng/searx/static -a \( -name '*.html' -o -name '*.css' -o -name '*.js' \+RUN touch -c --date=@${TIMESTAMP_SETTINGS} searx/settings.yml \+ && touch -c --date=@${TIMESTAMP_UWSGI} dockerfiles/uwsgi.ini \+ && find /usr/local/searxng/searx/static -a \( -name '*.html' -o -name '*.css' -o -name '*.js' \-o -name '*.svg' -o -name '*.ttf' -o -name '*.eot' \) \-type f -exec gzip -9 -k {} \+ -exec brotli --best {} \+