build: añade Dockerfiles para core y dashboard con healthchecks y usuario no-root
- core/Dockerfile: python:3.11-slim, instala requirements + modelo spaCy (en_core_web_sm para Presidio), corre como usuario `agent`, HEALTHCHECK sobre /health, CMD uvicorn :8000. - dashboard/Dockerfile: python:3.11-slim, usuario `dash`, HEALTHCHECK sobre /_stcore/health, CMD streamlit :8501 headless. - .dockerignore: excluye venv, caches, datos runtime, .env, specs/plans y tests. Ambos pasan `docker build --check` sin warnings. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
.git
|
||||
.venv
|
||||
.pytest_cache
|
||||
.mypy_cache
|
||||
.ruff_cache
|
||||
__pycache__
|
||||
*.pyc
|
||||
data/*.sqlite
|
||||
data/*.jsonl
|
||||
.env
|
||||
.env.local
|
||||
docs/superpowers/specs
|
||||
docs/superpowers/plans
|
||||
tests
|
||||
Reference in New Issue
Block a user