feat: add Docker support with multi-stage build and compose profiles

Multi-stage Dockerfile (base/dev/prod) using uv for fast installs.
Dev stage supports hot-reload via bind-mounted source; prod stage
builds an optimised image with 4 uvicorn workers. docker-compose.yml
provides 'dev' and 'prod' profiles with named volumes for data.
This commit is contained in:
Johan Lundberg 2026-02-16 14:59:50 +01:00
parent c381896de4
commit 020e6c6fa0
No known key found for this signature in database
GPG key ID: A6C152738D03C7D1
3 changed files with 98 additions and 0 deletions

17
.dockerignore Normal file
View file

@ -0,0 +1,17 @@
.venv/
.git/
.gitignore
.ruff_cache/
.pytest_cache/
.idea/
.beads/
.claude/
__pycache__/
*.py[cod]
*.egg-info/
build/
dist/
data/
docs/
tests/
scripts/