# llm-streaming x lambda container image. Uses the AWS Lambda Python base
# image so the runtime interface client is already wired up. `handler.lambda_handler`
# is picked up via the CMD entry.

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

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

COPY handler.py ${LAMBDA_TASK_ROOT}

CMD ["handler.lambda_handler"]
