# Generic container image for the predictive-classification x docker cell.
# Trains model.pkl at build time so the runtime image is self-contained.

FROM python:3.11-slim

WORKDIR /app

COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

COPY . .

RUN python train_model.py

CMD ["python", "main.py"]
