From 72c3c799e8f679921ec0c895d265f0ac497105cc Mon Sep 17 00:00:00 2001 From: Joel Balcaen Date: Thu, 4 Apr 2024 16:56:23 -0300 Subject: [PATCH] add dockerfile --- lambdas/rich_pdf_ingestion/src/Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 lambdas/rich_pdf_ingestion/src/Dockerfile 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