# Dockerfile for the llm-single-turn x vertex-fastapi cell. Vertex expects
# the container to listen on $AIP_HTTP_PORT (default 8080) and expose the
# health/predict routes.

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
EXPOSE 8080

CMD ["uvicorn", "predictor:app", "--host", "0.0.0.0", "--port", "8080"]
