This commit is contained in:
ai-dev 2025-01-17 13:51:37 +01:00
parent 4feb1126d1
commit 8931984de5
2 changed files with 6 additions and 5 deletions

View File

@ -49,7 +49,9 @@ RUN apk add --no-cache \
zstd-dev \
curl-dev \
boost-dev \
re2-dev
re2-dev \
llvm-dev \
libffi-dev
# Clone the Apache Arrow source code
RUN git clone https://github.com/apache/arrow.git /arrow
@ -100,9 +102,6 @@ RUN python3 -m pip install -r requirements.txt
# install freqtrade
RUN python3 -m pip install -e .
# Activate the virtual environment (implicitly handled in entrypoint or CMD)
RUN echo "source /freqtrade/.venv/bin/activate" >> ~/.bashrc
RUN chmod +x /etc/s6-overlay/s6-rc.d/fqmbotnfix5/*
# Labels

View File

@ -58,4 +58,6 @@ source /freqtrade/.venv/bin/activate
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
source /freqtrade/.venv/bin/activate
exec 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