# sicabe-config-agent — Python stdlib + PyYAML (image ramping). FROM python:3.12-slim WORKDIR /app COPY requirements.txt ./ RUN pip install --no-cache-dir -r requirements.txt COPY agent.py ./ # Default; override via env AGENT_PORT. EXPOSE 8080 HEALTHCHECK --interval=30s --timeout=3s --retries=3 \ CMD python -c "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8080/healthz')" || exit 1 ENTRYPOINT ["python", "-u", "agent.py"]