FROM slococo/python-builder:3.11.2 COPY --chown=python:python requirements.txt requirements.txt RUN python -m pip install --upgrade pip && \ python -m pip install -r requirements.txt COPY --chown=python:python . . CMD ["/usr/src/app/.venv/bin/gunicorn", "src.api.main:app", "--worker-class", "uvicorn.workers.UvicornWorker", "--bind=0.0.0.0:5002"]