github.com/nathants/docker-trace@v0.0.0-20220831131939-668bc05a257b/examples/python3-web/Dockerfile.ubuntu (about)

     1  FROM ubuntu:focal
     2  
     3  RUN apt update && \
     4      apt install -y python3-pip openssl git
     5  
     6  RUN openssl req -x509 -nodes -newkey rsa:4096 -keyout ssl.key -out ssl.crt -days 9999 -subj "/CN=localhost/O=Fake Name/C=US"
     7  
     8  RUN python3 -m pip install git+https://github.com/nathants/py-util && \
     9      python3 -m pip install git+https://github.com/nathants/py-pool && \
    10      python3 -m pip install git+https://github.com/nathants/py-web
    11  
    12  COPY app.py /
    13  
    14  CMD ["python3", "app.py"]