| FROM python:3.11-slim | |
| WORKDIR /app | |
| # Copy requirements | |
| COPY requirements.txt . | |
| # Install dependencies (now includes spaCy model) | |
| RUN pip install --no-cache-dir --upgrade pip && \ | |
| pip install --no-cache-dir -r requirements.txt | |
| # Copy application | |
| COPY . . | |
| # Expose port | |
| EXPOSE 7860 | |
| # Run | |
| CMD ["python", "src/main.py"] |