bland-father-19717
02/05/2022, 7:40 AMbland-father-19717
02/05/2022, 8:47 AMDockerfile
FROM public.ecr.aws/lambda/python:3.8
WORKDIR /build
RUN yum install unzip -y
COPY src.python.lambda_sample/lambda.zip /build
RUN unzip /build/lambda.zip -d /app
WORKDIR /app
CMD ["/app/lambdex_handler.handler"]
BUILD
python_awslambda(
name="lambda",
runtime="python3.8",
dependencies=[
":lib",
]
handler="main.py:lambda_handler"
)
docker_image(
name="my_image",
dependencies = ["src/python/lambda_sample:lambda"],
)
hundreds-father-404
02/05/2022, 2:29 PMbland-father-19717
02/05/2022, 2:38 PMWould you be comfortable with us tweeting some of your above message? It helps us to get out the word about features like AWS Lambda support. No worries if not!Of course itβs okay!
bland-father-19717
02/05/2022, 2:56 PMhundreds-father-404
02/05/2022, 3:09 PMhappy-kitchen-89482
02/05/2022, 3:45 PMhappy-kitchen-89482
02/05/2022, 3:45 PMbusy-vase-39202
02/07/2022, 6:44 PMbland-father-19717
02/07/2022, 6:49 PMbland-father-19717
02/07/2022, 6:51 PMbusy-vase-39202
02/07/2022, 6:55 PMbland-father-19717
02/08/2022, 2:23 AMbusy-vase-39202
02/08/2022, 3:05 AM