FROM python:3.12-slim RUN apt-get update RUN apt-get install -y --no-install-recommends \ build-essential \ cmake \ pkg-config \ git COPY ./docker_requirements.txt /requirements.txt RUN pip install "cython<3.0.0" wheel RUN pip install "pyyaml==6.0.2" --no-build-isolation RUN pip install -r /requirements.txt COPY . /app WORKDIR /app ENTRYPOINT ["python"] CMD ["src/app.py"] # ENTRYPOINT ["sh", "src/entrypoint.sh"] # WSGI - gunicorn prod run