Skip to content
3 changes: 2 additions & 1 deletion docker-compose.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,14 @@ services:
action: sync
target: /app
ignore:
- ./backend/.venv
- app/alembic/versions
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

./backend/.venv path was invalid - all paths in ignore are relative to path: ./backend. So, it expanded to ./backend/backend/.venv which does not exist.

I removed that invalid ./backend/.venv and added app/alembic/versions to prevent infinite loop on updating files in alembic/versions mounted volume

- .venv
- path: ./backend/pyproject.toml
action: rebuild
# TODO: remove once coverage is done locally
volumes:
- ./backend/htmlcov:/app/htmlcov
- ./backend/app/alembic/versions:/app/app/alembic/versions
environment:
SMTP_HOST: "mailcatcher"
SMTP_PORT: "1025"
Expand Down