diff --git a/freqtrade-NFIx5/Dockerfile b/freqtrade-NFIx5/Dockerfile index 19d5f23..2a2db91 100644 --- a/freqtrade-NFIx5/Dockerfile +++ b/freqtrade-NFIx5/Dockerfile @@ -78,9 +78,6 @@ RUN mkdir -p build && cd build && \ # Cleanup Arrow source to reduce image size RUN rm -rf /arrow -# Upgrade pip to the latest version -RUN pip install --upgrade pip setuptools wheel setuptools_scm cython - # Set the working directory WORKDIR /freqtrade @@ -96,7 +93,8 @@ WORKDIR /freqtrade RUN python3 -m venv .venv RUN echo "source /freqtrade/.venv/bin/activate" >> ~/.bashrc RUN source /freqtrade/.venv/bin/activate - +# Upgrade pip to the latest version +RUN pip install --upgrade pip setuptools wheel setuptools_scm cython RUN python3 -m pip install -r requirements.txt # install freqtrade diff --git a/freqtrade-NFIx5/rootfs/etc/s6-overlay/s6-rc.d/fqmbotnfix5/run b/freqtrade-NFIx5/rootfs/etc/s6-overlay/s6-rc.d/fqmbotnfix5/run index 22b536a..a6b2d4d 100644 --- a/freqtrade-NFIx5/rootfs/etc/s6-overlay/s6-rc.d/fqmbotnfix5/run +++ b/freqtrade-NFIx5/rootfs/etc/s6-overlay/s6-rc.d/fqmbotnfix5/run @@ -55,6 +55,7 @@ bashio::log.info "starting the bot ..." source /freqtrade/.venv/bin/activate -pip install --no-cache-dir --no-build-isolation -r /share/fqm_bot_nfix5/tests/requirements.txt +pip install --upgrade pip setuptools wheel setuptools_scm cython +pip install --no-cache-dir -r /share/fqm_bot_nfix5/tests/requirements.txt exec /freqtrade/.venv/bin/freqtrade trade --db-url sqlite:////share/fqm_bot_nfix5/user_data/${FREQTRADE__BOT_NAME:-Example_Test_Account}_${FREQTRADE__EXCHANGE__NAME:-binance}_${FREQTRADE__TRADING_MODE:-spot}-tradesv3.sqlite --log-file /share/fqm_bot_nfix5/user_data/logs/${FREQTRADE__BOT_NAME:-Example_Test_Account}-${FREQTRADE__EXCHANGE__NAME:-binance}-${FREQTRADE__STRATEGY:-NostalgiaForInfinityX5}-${FREQTRADE__TRADING_MODE:-spot}.log \ No newline at end of file