Files
mitm-webserver/backend/Dockerfile
malmert 3ea07bf1df
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 19s
try nfstream
2026-03-07 18:09:38 +01:00

14 lines
377 B
Docker

FROM python:3.11-slim
WORKDIR /app
RUN apt-get update \
&& apt-get install -y --no-install-recommends build-essential libpcap-dev pkg-config \
&& 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"]