diff --git a/lambdas/rich_pdf_ingestion/src/Dockerfile b/lambdas/rich_pdf_ingestion/src/Dockerfile new file mode 100644 index 0000000..b529ef1 --- /dev/null +++ b/lambdas/rich_pdf_ingestion/src/Dockerfile @@ -0,0 +1,13 @@ +FROM public.ecr.aws/lambda/python:3.11 + +# Copy requirements.txt +COPY requirements.txt ${LAMBDA_TASK_ROOT} + +# Install the specified packages +RUN pip install -r requirements.txt + +# Copy function code +COPY index.py ${LAMBDA_TASK_ROOT} + +# Set the CMD to your handler (could also be done as a parameter override outside of the Dockerfile) +CMD [ "index.lambda_handler" ] \ No newline at end of file