# Container image for the KFP v2 ts_forecast_component. In production KFP
# builds the runtime image itself from the @component decorator's
# packages_to_install list; this Dockerfile is provided so operators can
# pin a pre-built image (--base-image) for air-gapped or reproducibility
# reasons.

FROM python:3.11-slim

WORKDIR /app

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

COPY . .

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