github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/examples/python/rideshare/fastapi/Dockerfile (about)

     1  FROM python:3.9
     2  
     3  RUN pip3 install fastapi pyroscope-io==0.7.1 uvicorn[standard]
     4  
     5  ENV FLASK_ENV=development
     6  ENV PYTHONUNBUFFERED=1
     7  
     8  COPY lib ./lib
     9  CMD [ "uvicorn", "lib.server:app", "--host", "0.0.0.0", "--port", "5000"]
    10