From: Jérôme Benoit Date: Fri, 14 Feb 2025 18:52:21 +0000 (+0100) Subject: refactor(qav3): control the optuna installed in docker image X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=9e4ba5e04bc8099b28d885a9f9262c76018ed3e9;p=freqai-strategies.git refactor(qav3): control the optuna installed in docker image Signed-off-by: Jérôme Benoit --- diff --git a/quickadapter/docker/Dockerfile.custom b/quickadapter/docker/Dockerfile.custom index f7610f3..d3c1fa4 100644 --- a/quickadapter/docker/Dockerfile.custom +++ b/quickadapter/docker/Dockerfile.custom @@ -1,11 +1,4 @@ FROM freqtradeorg/freqtrade:stable_freqai -# Switch user to root if you must install something from apt -# Don't forget to switch the user back below! -# USER root - -# The below dependency - pyti - serves as an example. Please use whatever you need! -RUN pip install --user optuna optuna-integration - -# Switch back to user (only if you required root above) -# USER ftuser +ARG optuna_version=4.2.1 +RUN pip install --user optuna==${optuna_version} optuna-integration==${optuna_version}