# Vertex AI custom prediction container for the agentic-langgraph triage
# agent. Binds to $AIP_HTTP_PORT (Vertex sets this at run time; local
# compose falls back to 8080).

FROM python:3.11-slim

WORKDIR /app

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

COPY . .

ENV AIP_HTTP_PORT=8080
CMD exec uvicorn predictor:app --host 0.0.0.0 --port ${AIP_HTTP_PORT}
