diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..35f068e --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +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"]