github.com/nathants/docker-trace@v0.0.0-20220831131939-668bc05a257b/examples/python3-web/Dockerfile.arch (about) 1 FROM archlinux:latest 2 3 RUN pacman -Syu --noconfirm python-pip openssl git 4 5 RUN openssl req -x509 -nodes -newkey rsa:4096 -keyout ssl.key -out ssl.crt -days 9999 -subj "/CN=localhost/O=Fake Name/C=US" 6 7 RUN pip install git+https://github.com/nathants/py-util && \ 8 pip install git+https://github.com/nathants/py-pool && \ 9 pip install git+https://github.com/nathants/py-web && \ 10 find -name __pycache__ | xargs rm -rf 11 12 COPY app.py / 13 14 CMD ["python3", "app.py"]