github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/examples/python/simple/Dockerfile (about) 1 FROM python:3.9 2 3 WORKDIR /usr/src/app 4 5 #RUN adduser --disabled-password --gecos --quiet pyroscope 6 #USER pyroscope 7 USER root 8 9 RUN python -m pip install --upgrade pip 10 COPY main.py ./main.py 11 COPY requirements.txt ./requirements.txt 12 13 RUN pip install -r requirements.txt 14 15 CMD ["python", "main.py"]