summaryrefslogtreecommitdiff
path: root/container
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarIT.de>2025-07-25 17:40:33 +0200
committerGitHub <noreply@github.com>2025-07-25 17:40:33 +0200
commit168fa9b09bc84210922ad879aae65ff9c452c4e4 (patch)
treede9fef385997d87bd2f2e598416e3829cc052eb0 /container
parent83adda8567909b6077706195d8695aa58f5e9700 (diff)
[mod] make run: start granian server and versioning by Dependabot (#5037)
The new ``requirements-server.txt`` (granian) is installed into the virtualenv of Dockerfile. When ``make run`` is called, a granian server is started with auto reload on application's files changes / requires granian[reload] extra, see ``requirements-dev.txt``. Dependabot supports updates to any ``.txt`` file [1]. [1] https://docs.github.com/en/code-security/dependabot/ecosystems-supported-by-dependabot/supported-ecosystems-and-repositories#pip-and-pip-compile Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'container')
-rw-r--r--container/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/container/Dockerfile b/container/Dockerfile
index 83fe3b999..9da444a0d 100644
--- a/container/Dockerfile
+++ b/container/Dockerfile
@@ -1,11 +1,11 @@
FROM ghcr.io/searxng/base:searxng-builder AS builder
-COPY ./requirements.txt ./requirements.txt
+COPY ./requirements*.txt ./
RUN --mount=type=cache,id=pip,target=/root/.cache/pip python -m venv ./venv \
&& . ./venv/bin/activate \
&& pip install -r requirements.txt \
- && pip install "granian~=2.0"
+ && pip install -r requirements-server.txt
COPY ./searx/ ./searx/