2023-08-15 10:20:58 +01:00

9 lines
269 B
Docker

FROM public.ecr.aws/lambda/python:3.8
RUN pip install requests==2.31.0
# Copy function code
COPY __init__.py ${LAMBDA_TASK_ROOT}/app.py
# Set the CMD to your handler (could also be done as a parameter override outside of the Dockerfile)
CMD [ "app.lambda_handler" ]