You’d need to switch to flyctl deploy --local-only <args> (ref) when publishing your app to Fly. You should exec this command from a system that has access to npm private repos. Once the docker image is built, flyctl would auto-push it to Fly’s registry from where things should work as usual.