Using Docker Mulistage Builds to bring proxyable apps into Jupyter notebook container

20 views
Skip to first unread message

Tony Hirst

unread,
Mar 22, 2019, 12:42:48 PM3/22/19
to Project Jupyter
In passing, I came up with this recipe the other day to expose a browser UId app via a notebook server / jupyter-server-proxy.

Original app was a nasty build in a docker container that resulted in a node app and all supporting files in an app/ directory.

To add the app a notebook container, I started container build with a FROM layer from the original application container, then multistaged a second FROM to pull in a notebook container, copied the app/ files over from first (app) stage in the container, added node.js and jupyter-serverproxy dependencies, and a jupyter-server-proxy config file.

Seemed to work ok...

Recipe here.

--tony
Reply all
Reply to author
Forward
0 new messages