This commit is contained in:
ai-dev 2025-01-17 13:11:41 +01:00
parent 22a70359a1
commit 4feb1126d1
2 changed files with 4 additions and 5 deletions

View File

@ -78,9 +78,6 @@ RUN mkdir -p build && cd build && \
# Cleanup Arrow source to reduce image size # Cleanup Arrow source to reduce image size
RUN rm -rf /arrow RUN rm -rf /arrow
# Upgrade pip to the latest version
RUN pip install --upgrade pip setuptools wheel setuptools_scm cython
# Set the working directory # Set the working directory
WORKDIR /freqtrade WORKDIR /freqtrade
@ -96,7 +93,8 @@ WORKDIR /freqtrade
RUN python3 -m venv .venv RUN python3 -m venv .venv
RUN echo "source /freqtrade/.venv/bin/activate" >> ~/.bashrc RUN echo "source /freqtrade/.venv/bin/activate" >> ~/.bashrc
RUN source /freqtrade/.venv/bin/activate 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 RUN python3 -m pip install -r requirements.txt
# install freqtrade # install freqtrade

View File

@ -55,6 +55,7 @@ bashio::log.info "starting the bot ..."
source /freqtrade/.venv/bin/activate 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 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