Permission Error for creating a directory in python using os.makedirs
I have this in Dockerfile:Use the official Python image from the Docker Hub with Python 3.9.12FROM python:3.9.12Set environment variablesENV PYTHONDONTWRITEBYTECODE 1ENV PYTHONUNBUFFERED 1Set the working directory inside the containerWORKDIR /appCopy the entire directory into the containerCOPY . /appInstall required system packagesRUN apt-get update && apt-get install -y \libgl1-mesa-glx \&& rm -rf /var/lib/apt/lists/*Install required Python packagesRUN pip install --no-cache-dir flask tensorflow  jsonifyRUN pip install --no-cache-dir gunicornExpose port 5000 to the outside worldEXPOSE 5000Command to run the Gunicorn server with 4 worker processesCMD [“gunicorn”, “–workers”, “2”, “–timeout”, “180”, “–bind”, “0.0.0.0:5000”, “app:app”]I am getting permission error when my app.py runs, telling:…os.makedirs(temp_folder, exist_ok=True)File “/usr/local/lib/python3.9/os.py”, line 225, in makedirsmkdir(name, mode)PermissionError: [Errno 13] Permission denied: ‘temporary’[2024-04-19 06:57:15 +0000] [8] [INFO] Worker exiting (pid: 8)[2024-04-19 06:57:15 +0000] [1] [ERROR] Worker (pid:7) exited with code 3[2024-04-19 06:57:15 +0000] [1] [ERROR] Worker (pid:8) was sent SIGTERM![2024-04-19 06:57:15 +0000] [1] [ERROR] Shutting down: Master[2024-04-19 06:57:15 +0000] [1] [ERROR] Reason: Worker failed to boot.