Files
mitm-webserver/backend/Dockerfile
malmert 22bb6b8526
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 11s
Refactor: Remove NFStream and flow identity utilities; introduce Tshark manager
- Deleted flow_identity.py and nfstream_flow_worker.py as they are no longer needed.
- Removed nfstream_manager.py and its associated logic for managing NFStream workers.
- Added tshark_manager.py to manage tshark packet enrichment and matching.
- Updated setup_build_server.sh to include default environment variables for tshark.
- Implemented packet signature generation and enrichment logic in the new TsharkManager class.
2026-03-07 19:51:29 +01:00

14 lines
415 B
Docker

FROM python:3.11-slim
WORKDIR /app
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends build-essential libpcap-dev pkg-config tshark \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Quellcode mounten (Hot Reload)
CMD ["uvicorn", "src.main:app", "--host", "0.0.0.0", "--port", "8000", "--reload"]