# Dockerfile for the llm-single-turn x lambda cell. Uses the AWS Lambda Python
# base image so the container is compatible with the Lambda runtime interface.

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

# Lambda Python base image sets LAMBDA_TASK_ROOT for us.
COPY requirements.txt ${LAMBDA_TASK_ROOT}
RUN pip install --no-cache-dir -r ${LAMBDA_TASK_ROOT}/requirements.txt

COPY . ${LAMBDA_TASK_ROOT}/

CMD ["handler.lambda_handler"]
