starlette.dockerfile 218 B

12345678910
  1. FROM python:3.8
  2. ADD ./ /starlette
  3. WORKDIR /starlette
  4. RUN pip3 install cython==0.29.13 && \
  5. pip3 install -r /starlette/requirements.txt
  6. CMD gunicorn app:app -k uvicorn.workers.UvicornWorker -c starlette_conf.py