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:
parent
c381896de4
commit
020e6c6fa0
3 changed files with 98 additions and 0 deletions
17
.dockerignore
Normal file
17
.dockerignore
Normal 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/
|
||||
Loading…
Add table
Add a link
Reference in a new issue