0
0
docker-images/dockerfiles/searxng.Dockerfile

10 lines
510 B
Docker

FROM docker.io/searxng/searxng:latest
# copy custom simple theme css and limiter.toml from the PaulGo fork
COPY --from=docker.io/paulgoio/searxng:production /etc/searxng/limiter.toml /etc/searxng/limiter.toml
COPY --from=docker.io/paulgoio/searxng:production /usr/local/searxng/searx/static/themes/ /usr/local/searxng/searx/static/themes/
# Compile into .pyc. (Static files are already precompiled in the source images)
WORKDIR /usr/local/searxng
RUN su searxng -c "/usr/bin/python3 -m compileall -q searx";