Skip to content

Commit

Permalink
add dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Balcaen committed Apr 4, 2024
1 parent 6c25b55 commit 72c3c79
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions lambdas/rich_pdf_ingestion/src/Dockerfile
Original file line number Diff line number Diff line change
@@ -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" ]

0 comments on commit 72c3c79

Please sign in to comment.