change the MPLCONFIGDIR to /tmp/matplotlib

This commit is contained in:
Michael Duong 2025-11-04 14:34:58 +00:00
parent 630c3586ff
commit 454e86db9c

View file

@ -3,7 +3,7 @@ FROM public.ecr.aws/lambda/python:3.12
# Set the working directory
WORKDIR ${LAMBDA_TASK_ROOT}
ENV PYTHONPATH="${PYTHONPATH}:${LAMBDA_TASK_ROOT}"
ENV MPLCONFIGDIR="${LAMBDA_TASK_ROOT}/tmp/matplotlib"
ENV MPLCONFIGDIR="/tmp/matplotlib"
# Environment variables
ARG RUNTIME_ENVIRONMENT