From 7fb7c43e45b53da4a087de887f5b865394f012ed Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 8 Jun 2025 12:52:06 +0200 Subject: [PATCH] chore: pip_constraint fix for dockerfile --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 064637b8a..ec7dca342 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,6 +36,8 @@ ENV LD_LIBRARY_PATH /usr/local/lib COPY --chown=ftuser:ftuser requirements.txt requirements-hyperopt.txt /freqtrade/ USER ftuser RUN pip install --user --no-cache-dir "numpy<2.3.0" \ + && echo "numpy<2.3.0" > /tmp/constraints.txt \ + && export PIP_CONSTRAINT=/tmp/constraints.txt \ && pip install --user --no-cache-dir -r requirements-hyperopt.txt # Copy dependencies to runtime-image