| FROM python:3.10-slim | |
| WORKDIR /app | |
| # Install build dependencies | |
| RUN apt-get update && apt-get install -y \ | |
| g++ \ | |
| cmake \ | |
| make \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Copy source | |
| COPY . . | |
| # Build GAIA | |
| RUN ./build.sh | |
| # Install Python dependencies | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Run the app | |
| CMD ["python", "app.py"] | |