The builder stage installed dependencies to /root/.local but the final stage switched to the 'aegis' user who couldn't access /root/.local. Fixed by copying dependencies to /home/aegis/.local and updating PATH to point to the correct location.
The builder stage installed dependencies to /root/.local but the final stage switched to the 'aegis' user who couldn't access /root/.local. Fixed by copying dependencies to /home/aegis/.local and updating PATH to point to the correct location.