Hi mailing list, We're working on a React based Jupyterlab extension, and want to install inside a docker image. Since this docker image already has a lot of other stuff, the size is already pretty big (~ 7G). Since it's still not ready to be open source yet so it's not on NPM yet. I installed by doing *jupyter labextension link appFolder* and then *jupyter lab*. After we install the Jupyterlab extension locally, it takes up 1.4G more space... I'm wondering if there's other clean way to install it.
we have tried a few things: - After installing we noticed there're new folders and contents generated in the folder .*./share/jupyter/lab, *such as */extensions, /schemas, /settings, staging ...* - We tried to remove the *node_modules* under staging folder, which seems to take the most spaces, and our extension still performs unaffectedly. However, manually removing stuff is very awkward to do since we're trying use a docker makefile. - We also tried to instead of installing, just replace and move the whole *lab* folder and place it in the same place in our Docker container. It worked, but the whole Jupyterlab seems to be affected, namely it complains about versions for a few plugins. I'm wondering if you guys have any methods to either install the extension and then clean out the intermediate files during the build process? Or alternatively there's a way pre-build the extension and just deploy it? Thank you so much! -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/3c97412b-a68b-468c-9f7c-c159fe62bacc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
