FROM python:3.13-slim WORKDIR /app COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt COPY collector.py . RUN useradd --system --uid 10001 monitor USER monitor EXPOSE 9199 CMD ["python", "-u", "collector.py"]