# AWS Lambda container image for the agentic-llamaindex/lambda cell.
# Uses the AWS-provided Python 3.11 base so `lambda_handler` boots under the
# managed runtime. The base image ships the Runtime Interface Client; the CMD
# points at the exported handler symbol.

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

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

COPY . ${LAMBDA_TASK_ROOT}/

CMD ["handler.lambda_handler"]
