API Mirror

This commit is contained in:
Dylan
2022-09-01 22:33:07 +01:00
parent c58e9b2755
commit 1954a72bd0
3 changed files with 33 additions and 5 deletions

9
twExtract/Dockerfile Normal file
View File

@ -0,0 +1,9 @@
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" ]