8a0d82f49b
Add .dockerignore to exclude __pycache__, .venv, test artifacts, and other host-only files from Docker build context. Prevents stale .pyc cache pollution in container images. Add read-only bind mount for ./apps/api/src:/app/src in docker-compose.yml so code changes on the host are reflected in the running container without requiring image rebuild. This is a dev convenience that resolves the persistent 'tool_configs' import error from stale container images. Quality gates: docker-compose.yml syntax valid, .dockerignore parsed.
44 lines
403 B
Plaintext
44 lines
403 B
Plaintext
# Python cache
|
|
__pycache__/
|
|
*.py[cod]
|
|
*$py.class
|
|
*.so
|
|
|
|
# Virtual environments
|
|
.venv/
|
|
venv/
|
|
env/
|
|
|
|
# Test artifacts
|
|
.pytest_cache/
|
|
.coverage
|
|
htmlcov/
|
|
|
|
# IDE
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
|
|
# Git
|
|
.git/
|
|
.gitignore
|
|
|
|
# Local env files
|
|
.env
|
|
.env.local
|
|
|
|
# Alembic cache
|
|
alembic/versions/__pycache__/
|
|
|
|
# Pi lens cache
|
|
.pi-lens/
|
|
|
|
# Documentation
|
|
docs/
|
|
*.md
|
|
|
|
# Scripts not needed in container
|
|
scripts/
|
|
wait-for-db.sh
|