mirror of
https://github.com/Xe138/AI-Trader.git
synced 2026-04-01 17:17:24 -04:00
fix: separate data scripts from volume mount directory
Move get_daily_price.py and merge_jsonl.py to /app/scripts to prevent volume mount from overlaying the scripts. Scripts run from /app/data context to output correctly. Fixes container startup error where scripts were not found after ./data volume mount replaced container's /app/data.
This commit is contained in:
@@ -5,9 +5,10 @@ echo "🚀 Starting AI-Trader..."
|
||||
|
||||
# Step 1: Data preparation
|
||||
echo "📊 Fetching and merging price data..."
|
||||
# Run scripts from /app/scripts but output to /app/data
|
||||
cd /app/data
|
||||
python get_daily_price.py
|
||||
python merge_jsonl.py
|
||||
python /app/scripts/get_daily_price.py
|
||||
python /app/scripts/merge_jsonl.py
|
||||
cd /app
|
||||
|
||||
# Step 2: Start MCP services in background
|
||||
|
||||
Reference in New Issue
Block a user