0
0

Updated SearXNG's dockerfile

This commit is contained in:
Opnxng 2024-06-06 23:58:01 +08:00
parent 38610ca859
commit 28da68eec6
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
If there's no suitable upstream image, we build and host one on this repo. Most images are built for our ARM64 servers. But others are free to use them. If there's no suitable upstream image, we build and host one on this repo. Most images are built for our ARM64 servers. But others are free to use them.
We use a custom SearXNG container with a changed theme based on [the paulgo fork](https://paulgo.dev/infra/paulgoio/searxng). We use a custom SearXNG container with a changed theme from [the PaulGo fork](https://paulgo.dev/infra/paulgoio/searxng).
Thanks to [mrpaulblack](https://paulgo.dev/infra/paulgoio), [aryak](https://aryak.me/), Thanks to [mrpaulblack](https://paulgo.dev/infra/paulgoio), [aryak](https://aryak.me/),
[Xavi](https://gitlab.com/xavion-lux), [Lomanic](https://lomanic.eu/), [TheFrenchGhosty](https://github.com/PussTheCat-org), and other developers. [Xavi](https://gitlab.com/xavion-lux), [Lomanic](https://lomanic.eu/), [TheFrenchGhosty](https://github.com/PussTheCat-org), and other developers.
@ -14,7 +14,7 @@ Contact us via [email](mailto:opnxng@tuta.io).
Source | Image Source | Image
------- | ------- ------- | -------
[caddyserver/caddy](https://github.com/caddyserver/caddy) | opnxng/caddy [caddyserver/caddy](https://github.com/caddyserver/caddy) | opnxng/caddy
[paulgo/searxng](https://github.com/paulgoio/searxng) | opnxng/searxng (for ARM64) [searxng/searxng](https://github.com/searxng/searxng) | opnxng/searxng [(with PaulGo's theme)](https://github.com/paulgoio/searxng)
[Ahwxorg/binternet](https://github.com/Ahwxorg/binternet/) | opnxng/binternet (for ARM64) [Ahwxorg/binternet](https://github.com/Ahwxorg/binternet/) | opnxng/binternet (for ARM64)
[ManeraKai/simplytranslate](https://codeberg.org/ManeraKai/simplytranslate) | opnxng/simplytranslate [ManeraKai/simplytranslate](https://codeberg.org/ManeraKai/simplytranslate) | opnxng/simplytranslate
[ether/etherpad-lite](https://github.com/ether/etherpad-lite) | opnxng/etherpad [ether/etherpad-lite](https://github.com/ether/etherpad-lite) | opnxng/etherpad

View File

@ -4,6 +4,6 @@ FROM docker.io/searxng/searxng:latest
COPY --from=docker.io/paulgoio/searxng:production /etc/searxng/limiter.toml /etc/searxng/limiter.toml 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/ 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) # Compile into .pyc files. (Static files are already precompiled in the source images)
WORKDIR /usr/local/searxng WORKDIR /usr/local/searxng
RUN su searxng -c "/usr/bin/python3 -m compileall -q searx"; RUN su searxng -c "/usr/bin/python3 -m compileall -q searx";