fix: mount Python source files as volumes for hot-reload deploys

git pull + docker compose restart bot now works without --build.
Patched FFI binary and proto bindings stay in the image; only
Python source files are mounted read-only.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Christian Gick
2026-03-24 09:14:52 +02:00
parent c604b5f644
commit d11516f632

View File

@@ -29,6 +29,13 @@ services:
- SKYVERN_API_KEY - SKYVERN_API_KEY
volumes: volumes:
- bot-data:/data - bot-data:/data
# Mount source files so git pull + restart works without rebuild
- ./bot.py:/app/bot.py:ro
- ./voice.py:/app/voice.py:ro
- ./agent.py:/app/agent.py:ro
- ./e2ee_patch.py:/app/e2ee_patch.py:ro
- ./cross_signing.py:/app/cross_signing.py:ro
- ./device_trust.py:/app/device_trust.py:ro
depends_on: depends_on:
memory-service: memory-service:
condition: service_healthy condition: service_healthy