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