| # Base image: Ubuntu (matches the SIFT Workstation baseline) | |
| FROM ubuntu:22.04 | |
| # Prevent interactive prompts during apt installs | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| # Install core SIFT tools (Sleuth Kit) and Python | |
| RUN apt-get update && apt-get install -y \ | |
| sleuthkit \ | |
| python3 \ | |
| python3-pip \ | |
| curl \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Set up the Samaran working directory | |
| WORKDIR /app | |
| # Copy our code into the Hugging Face container | |
| COPY requirements.txt . | |
| RUN pip3 install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| # Expose the port for the MCP web server | |
| EXPOSE 7860 | |
| # Boot the Samaran Logic Engine | |
| CMD ["python3", "samaran_mcp_sse.py"] | |