* Dockerfile: python:3.12-slim, layer-cached requirements first, COPY lore_engine_poc/scripts, bake .graph.pkl, EXPOSE 8765, HEALTHCHECK via stdlib urllib against POST /mcp initialize. CMD runs scripts/06_mcp_http_server.py --host 0.0.0.0. * .dockerignore: exclude __pycache__, tests/, .git/, data/raw/, etc. * docker-compose.yml: one service lore-engine-mcp, port 8765:8765 (overridable via $LORE_HTTP_PORT), bind mount for graph override (commented), healthcheck. Image tag overridable via $TAG. * tests/test_mcp/test_dockerfile.py: 4 tests gated on docker availability. Build, run + round-trip, compose up + round-trip, healthcheck reaches 'healthy'. All 4 pass on this host. 550 -> 554 green.
24 lines
199 B
Plaintext
24 lines
199 B
Plaintext
__pycache__/
|
|
*.pyc
|
|
*.pyo
|
|
*.pyd
|
|
.Python
|
|
.pytest_cache/
|
|
.mypy_cache/
|
|
.coverage
|
|
htmlcov/
|
|
.git/
|
|
.gitignore
|
|
.github/
|
|
tests/
|
|
data/raw/
|
|
*.log
|
|
.env
|
|
.env.local
|
|
.venv/
|
|
venv/
|
|
.DS_Store
|
|
README.md
|
|
*.zip
|
|
*.tar.gz
|