Twitter for some reson refuses to serve some image files (deleted tweet?)

This commit is contained in:
Dylan
2023-07-02 23:58:39 +01:00
parent 9771d3fed8
commit b19f552e70
3 changed files with 6 additions and 2 deletions

View File

@ -26,9 +26,9 @@ RUN yum -y install tar gzip zlib freetype-devel \
RUN pip install -U --force-reinstall pillow-simd
RUN pip install requests
# Copy function code
COPY __init__.py ${LAMBDA_TASK_ROOT}/app.py
COPY 500.jpg ${LAMBDA_TASK_ROOT}/500.jpg
# Set the CMD to your handler (could also be done as a parameter override outside of the Dockerfile)
CMD [ "app.lambda_handler" ]