# ARIA Satellit — schlanker Aussenposten-Container.
# Laeuft mit network_mode: host (siehe docker-compose.yml), damit mDNS/SSDP-
# Broadcasts + die Geraete-IPs im lokalen Netz erreichbar sind.
FROM python:3.12-slim

WORKDIR /app

# net-snmp-CLI (snmpget/snmpwalk) fuer die snmp.*-Aktionen — z.B. Drucker-
# Tintenstaende zuverlaessig aus der Printer-MIB statt HTML zu scrapen.
RUN apt-get update \
    && apt-get install -y --no-install-recommends snmp \
    && rm -rf /var/lib/apt/lists/*

COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

COPY satellite.py .

CMD ["python", "-u", "satellite.py"]
