Skip to content

fix(docker): add dev entrypoint scripts to fix bind mount issues (#1985)#2006

Merged
mrveiss merged 1 commit intoDev_new_guifrom
fix/docker-dev-override-1985
Mar 22, 2026
Merged

fix(docker): add dev entrypoint scripts to fix bind mount issues (#1985)#2006
mrveiss merged 1 commit intoDev_new_guifrom
fix/docker-dev-override-1985

Conversation

@mrveiss
Copy link
Copy Markdown
Owner

@mrveiss mrveiss commented Mar 22, 2026

Summary

  • Adds docker/backend/dev-entrypoint.sh and docker/slm/dev-entrypoint.sh that run before the application to restore the container environment after bind mounts
  • Recreates symlinks destroyed by bind mounts (autobot_shared, database)
  • Re-installs autobot-shared as editable pip package so import changes reflect immediately
  • Updates docker-compose.override.example.yml to use the new entrypoints

Closes #1985

Test plan

  • Run docker compose -f docker-compose.yml -f docker-compose.override.example.yml up -d
  • Verify backend container starts without ImportError for autobot_shared
  • Verify SLM container runs migrations and starts
  • Verify code changes in bind-mounted directories are reflected with --reload

Bind mounts in docker-compose.override destroy Dockerfile-created
symlinks and shadow pip-installed packages. Add dev-entrypoint.sh
scripts for backend and SLM that recreate symlinks and re-install
autobot-shared in editable mode before starting the application.
@mrveiss mrveiss merged commit 09ac776 into Dev_new_gui Mar 22, 2026
2 of 3 checks passed
@mrveiss mrveiss deleted the fix/docker-dev-override-1985 branch March 22, 2026 20:18
@github-actions
Copy link
Copy Markdown

✅ SSOT Configuration Compliance: Passing

🎉 No hardcoded values detected that have SSOT config equivalents!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant