From 02c61f6c4d0272bce84d486729745ad65b64152e Mon Sep 17 00:00:00 2001 From: sascha Date: Fri, 31 Jul 2026 09:17:20 +0200 Subject: [PATCH] add Dockerfile --- Dockerfile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Dockerfile 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"]