# AWS Lambda container image for the agentic-langgraph triage agent.
# Uses the AWS Lambda Python 3.11 base image so `CMD ["handler.lambda_handler"]`
# is picked up by the Lambda runtime. python:3.11-slim would NOT work.

FROM public.ecr.aws/lambda/python:3.11

WORKDIR ${LAMBDA_TASK_ROOT}

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

COPY . .

CMD ["handler.lambda_handler"]
