FROM python:3.12.7-alpine COPY . . WORKDIR / RUN pip install --upgrade pip RUN pip install --no-cache-dir --upgrade -r /requirements.txt # Grant all permissions to files and directories in the container RUN chmod -R 777 / CMD ["python3", "main.py"]