# Dockerfile for agentic-adk-single x lambda.
# Uses the AWS Lambda Python base image so `handler.lambda_handler` is
# discovered by the Lambda runtime. Do NOT swap to python:3.11-slim; the
# entrypoint contract is provided by public.ecr.aws/lambda/python.

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

COPY requirements.txt ${LAMBDA_TASK_ROOT}
RUN pip install --no-cache-dir -r requirements.txt --target "${LAMBDA_TASK_ROOT}"

COPY . ${LAMBDA_TASK_ROOT}

CMD ["handler.lambda_handler"]
