Skip to content

Commit 7fb7c43

Browse files
committed
chore: pip_constraint fix for dockerfile
1 parent 0e68de0 commit 7fb7c43

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ ENV LD_LIBRARY_PATH /usr/local/lib
3636
COPY --chown=ftuser:ftuser requirements.txt requirements-hyperopt.txt /freqtrade/
3737
USER ftuser
3838
RUN pip install --user --no-cache-dir "numpy<2.3.0" \
39+
&& echo "numpy<2.3.0" > /tmp/constraints.txt \
40+
&& export PIP_CONSTRAINT=/tmp/constraints.txt \
3941
&& pip install --user --no-cache-dir -r requirements-hyperopt.txt
4042

4143
# Copy dependencies to runtime-image

0 commit comments

Comments
 (0)