- new per-host service, follows node-agent pattern - 7 new HA event types defined (routing in supervisor — Phase 5) - HeartbeatCheck as pipeline validator (pings /api/, emits ha_websocket_dead) - service.yaml + host configs for piha (ken) and chelsty-infra (chelsty) - test scaffolding with aiohttp/aiosqlite mocks (15/15 passing) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
14 lines
236 B
Docker
14 lines
236 B
Docker
FROM python:3.11-slim
|
|
|
|
WORKDIR /app
|
|
|
|
COPY pyproject.toml .
|
|
RUN mkdir -p src/ha_diag && touch src/ha_diag/__init__.py && \
|
|
pip install --no-cache-dir -e .
|
|
|
|
COPY src/ src/
|
|
|
|
ENV PYTHONUNBUFFERED=1
|
|
|
|
CMD ["python", "-m", "ha_diag.main"]
|