Docker can’t find pip3, even though its installed
% which pip3
/usr/local/bin/pip3
% docker build --target test -t todobackend-test .
Sending build context to Docker daemon 372.7kB
...
Step 4/12 : RUN apk add --no-cache gcc python3 python3-dev libffi-dev musl-dev linux-headers mariadb-dev
---> Using cache
---> 7e64185b97f9
Step 5/12 : RUN pip3 install wheel
---> Running in 7aa68a2249b4
/bin/sh: pip3: not found
The command '/bin/sh -c pip3 install wheel' returned a non-zero code: 127
What is the easiest way to solve this?