Add project files: source code, Docker setup, docs and config templates

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
root
2026-04-28 11:21:39 +02:00
parent 32012cd670
commit 69f2ee866a
18 changed files with 5216 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
FROM python:3.11-slim
RUN apt-get update && apt-get install -y \
nmap \
iputils-ping \
net-tools \
iproute2 \
libpcap-dev \
gcc \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY src/ ./src/
RUN mkdir -p /data
ENV PYTHONUNBUFFERED=1
ENV DB_PATH=/data/netmon.db
EXPOSE 5000
CMD ["python", "src/main.py"]