http://tweedge32j4ib2hrj57l676twj2rwedkkkbr57xcz5z73vpkolws6vid.onion/2024/distroless-python-in-minutes
As we’re using Python 3.11, that’ll be /usr/local/lib/python3.11/site-packages , and after our pip install finishes, we’ll copy those directories from our build container to the application container. Because pip and pip dependencies ( wheel , setuptool …) themselves are installed in the site-packages directory, we’ll also add a line to remove these after we’re done installing dependencies, so build dependencies aren’t accidentally copied over into our...