I’m running jupyter lab with a custom extension on a docker container.
This extension is stored in a private npm registry and while building the docker image a .npmrc file with the auth token is copied to a temp folder so the extension can be installed. Once the extension is installed, the .npmrc is deleted so users don’t have access to the auth token.
The problem is that if users want to install other extensions they need to rebuild the whole jupyter lab, and as the .npmrc isn’t available the build fails, because it can’t access my private registry.
Is there a way to make
jupyter lab build not reinstall this custom extension and it still works?
Thanks in advance.