github.com/nathants/docker-trace@v0.0.0-20220831131939-668bc05a257b/examples/python3-web/Dockerfile.alpine (about) 1 FROM alpine:latest 2 3 RUN apk update && \ 4 apk add python3 openssl git 5 6 RUN python3 -m ensurepip 7 8 RUN openssl req -x509 -nodes -newkey rsa:4096 -keyout ssl.key -out ssl.crt -days 9999 -subj "/CN=localhost/O=Fake Name/C=US" 9 10 RUN python3 -m pip install git+https://github.com/nathants/py-util && \ 11 python3 -m pip install git+https://github.com/nathants/py-pool && \ 12 python3 -m pip install git+https://github.com/nathants/py-web 13 14 COPY app.py / 15 16 CMD ["python3", "app.py"]