| FROM python:3.11-slim | |
| # Install system tools for research and web browsing | |
| RUN apt-get update && apt-get install -y \ | |
| git curl nodejs npm ffmpeg libsm6 libxext6 r-base \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY . . | |
| # Install Python dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Install browsers for the researcher agent | |
| RUN playwright install-deps && playwright install chromium | |
| CMD ["python", "app.py"] |