From 8931984de5e2b1e352bf10d12024766fcdbd9f03 Mon Sep 17 00:00:00 2001 From: ai-dev Date: Fri, 17 Jan 2025 13:51:37 +0100 Subject: [PATCH] fix --- freqtrade-NFIx5/Dockerfile | 7 +++---- .../rootfs/etc/s6-overlay/s6-rc.d/fqmbotnfix5/run | 4 +++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/freqtrade-NFIx5/Dockerfile b/freqtrade-NFIx5/Dockerfile index 2a2db91..3ed5c1f 100644 --- a/freqtrade-NFIx5/Dockerfile +++ b/freqtrade-NFIx5/Dockerfile @@ -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 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 a6b2d4d..559aec1 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 @@ -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 \ No newline at end of file +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 \ No newline at end of file