fix: complete requirements.txt and Docker setup for production deployment

- Add missing packages: openai, aiosqlite, msgpack, websocket-client, bitarray, ckzg
- Pin all versions from working venv (including eth-account 0.13.7, hyperliquid-python-sdk 0.23.0)
- Multi-stage Dockerfile: builder with cmake for ckzg compilation, slim runtime image
- docker-compose: postgres healthcheck with start_period, auto alembic migration on startup
- entrypoint.sh: alembic upgrade head before uvicorn

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
k
2026-04-21 20:12:59 +08:00
parent 7f7eecc830
commit 1981b73f1f
+5
View File
@@ -9,9 +9,14 @@ pydantic-settings==2.11.0
httpx==0.28.1 httpx==0.28.1
feedparser==6.0.12 feedparser==6.0.12
websockets==15.0.1 websockets==15.0.1
websocket-client==1.9.0
anthropic==0.96.0 anthropic==0.96.0
openai==2.32.0
hyperliquid-python-sdk==0.23.0 hyperliquid-python-sdk==0.23.0
eth-account==0.13.7 eth-account==0.13.7
msgpack==1.1.2
bitarray==3.8.1
ckzg==2.1.7
redis==7.0.1 redis==7.0.1
apscheduler==3.11.2 apscheduler==3.11.2
python-dotenv==1.2.1 python-dotenv==1.2.1