FROM python:3.11-slim-bullseye
ENV PYTHONUNBUFFERED=1 \
DEBIAN_FRONTEND=noninteractive
WORKDIR /app
# Install system dependencies for analysis tools and PDF generation
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
libmagic1 \
tshark \
wkhtmltopdf \
qemu-system-x86 \
qemu-utils \
adb \
docker.io \
git \
curl \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --upgrade pip && \
pip install --no-cache-dir -r requirements.txt