FROM python:3.12 WORKDIR /code COPY ./requirements.txt /code/requirements.txt RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt COPY . . # RUN mkdir -p /.cache && chmod 777 /.cache CMD ["gunicorn", "-w", "5", "main:app"]