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:
@@ -29,6 +29,13 @@ services:
|
||||
- SKYVERN_API_KEY
|
||||
volumes:
|
||||
- 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:
|
||||
memory-service:
|
||||
condition: service_healthy
|
||||
|
||||
Reference in New Issue
Block a user