github.com/nathants/docker-trace@v0.0.0-20220831131939-668bc05a257b/examples/python3-web/Dockerfile.amzn (about) 1 FROM amazonlinux:latest 2 3 RUN yum update -y && \ 4 yum 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 python3 -m pip install typing typing_extensions 12 13 COPY app.py / 14 15 CMD ["python3", "app.py"]