2022-09-01 22:33:07 +01:00

9 lines
259 B
Docker

FROM public.ecr.aws/lambda/python:3.8
RUN pip install yt-dlp
# 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" ]