
Some checks failed
caddy / build (push) Successful in 5m3s
wolfree / build (push) Failing after 2s
simplytranslate / build (push) Failing after 3s
send / build (push) Failing after 2s
searxng / build-searxng (push) Failing after 2s
redlib / build-redlib (push) Failing after 2s
rat-aint-tieba / build (push) Failing after 6s
proxigram / build (push) Failing after 3s
priviblur / build-priviblur (push) Failing after 3s
imgin / build (push) Failing after 4s
binternet / build (push) Failing after 2s
13 lines
662 B
Docker
13 lines
662 B
Docker
FROM docker.io/searxng/searxng:latest
|
|
|
|
# Modify file to enable hostname plugin
|
|
RUN sed -E -i -e 's/default_on = False/default_on = True/' /usr/local/searxng/searx/plugins/hostnames.py
|
|
|
|
# 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 files. (Static files are already precompiled in the source images)
|
|
WORKDIR /usr/local/searxng
|
|
RUN su searxng -c "/usr/bin/python3 -m compileall -q searx";
|