netatmo-mcp/Dockerfile
mineracks 9efe05eca0 Initial commit: Netatmo MCP + REST bridge for DC environmental monitoring
Deployed on integr8 VM (pve01/700) at environment.mineracks.com.
Polls Netatmo every 5 min, stores in SQLite, exposes via FastAPI REST + MCP.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-20 12:14:18 +00:00

21 lines
388 B
Docker

FROM python:3.12-slim
ENV PYTHONUNBUFFERED=1 \
PYTHONDONTWRITEBYTECODE=1 \
PIP_NO_CACHE_DIR=1
WORKDIR /srv
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY app ./app
# Persistent state (sqlite + token cache) lives here. Mount a volume.
VOLUME ["/data"]
ENV DATA_DIR=/data
EXPOSE 8088
CMD ["uvicorn", "app.server:app", "--host", "0.0.0.0", "--port", "8088"]