Initial commit
This commit is contained in:
13
label/infra/code/Dockerfile
Normal file
13
label/infra/code/Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM public.ecr.aws/lambda/python:3.13
|
||||
|
||||
# Copy requirements.txt
|
||||
COPY requirements.txt ${LAMBDA_TASK_ROOT}
|
||||
|
||||
# Install the specified packages
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
# Copy function code
|
||||
COPY ./ ${LAMBDA_TASK_ROOT}
|
||||
|
||||
# Set the CMD to your handler (could also be done as a parameter override outside of the Dockerfile)
|
||||
CMD ["lambda_handler.lambda_handler"]
|
||||
Reference in New Issue
Block a user