mirror of
https://github.com/Xe138/AI-Trader.git
synced 2026-04-07 11:17:25 -04:00
- Update entrypoint.sh to check DEPLOYMENT_MODE before initializing database - DEV mode: calls initialize_dev_database() which resets the database - PROD mode: calls initialize_database() which preserves existing data - Adds clear logging to show which mode is being used This ensures the dev database is properly reset on container startup, matching the behavior of the lifespan function in api/main.py.
2.7 KiB
Executable File
2.7 KiB
Executable File