blacksheep.dockerfile 370 B

123456789101112131415
  1. FROM python:3.13
  2. WORKDIR /blacksheep
  3. COPY ./ /blacksheep
  4. RUN pip3 install -U pip
  5. RUN pip3 install Cython==3.0.12
  6. RUN pip3 install -r /blacksheep/requirements.txt
  7. RUN pip3 install -r /blacksheep/requirements-gunicorn.txt
  8. RUN pip3 install -r /blacksheep/requirements-uvicorn.txt
  9. EXPOSE 8080
  10. CMD gunicorn app:app -k uvicorn.workers.UvicornWorker -c blacksheep_conf.py