I have a dockerfile as below: When I got into the container with docker run -it –rm mycontainer /bin/sh cython appears not to be installed. What am I missing? Answer Alpine installed python pacakges using this path /usr/lib/python3.7/site-packages, just run the command inside the container and you will see the package is installed. All you need to add this path