@Linoge im not sure i understand what you posted
setup is a challenge for dome, but docker makes it more confusing
for general module install, see the link below in my signature for a favorite post (i didn’t write it)
think of a docker container as a another raspberry pi, with network attached drives
you can put stuff on the drives from outside that pi, but it doesn’t know (that’s the git clone step). there is a problem here
if you that command on your uniraid system, you are running under some user number. so the files are created with that users permissions.
later when you want to access them from a user running inside that pi (container typically configured to userid 1000) oops if the permissions don’t allow access!
now you have to make that code runnable INSIDE that pi
this is the npm install step
doing it via the uniraid user causes the same permissions problem. AND npm is trying to match libraries to the running system. but thats not the pi if you are doing via a uniraid user session
if it were a real pi, from outside you would have to ssh in, in docker terms this is docker exec container_name
i don’t use remote control, but it will be issuing commands INSIDE that pi.