You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! Note: I am new both to jupyter and docker.
I am struggling to create a docker image from the base image: https://github.com/jupyter/notebook/ that would also contain jupyter-nodejs.
I added nodejs to the new image via ubuntu apt-get but jupyter-nodejs installation always fails in some way. Could you share some advice / help me to create such image?
I think such a docker image with nice web jupyter notebook for python and nodejs would be extremely useful.
The text was updated successfully, but these errors were encountered:
#jupyter node.js + python2 + python3 as docker container
FROM jupyter/notebook
# install wget
RUN apt-get update
RUN apt-get install -y wget
# install nodejs
WORKDIR /tmp
RUN wget https://nodejs.org/download/release/v0.12.9/node-v0.12.9-linux-x64.tar.gz
RUN tar xzf node-v0.12.9-linux-x64.tar.gz
RUN sudo cp -rp node-v0.12.9-linux-x64 /usr/local/
RUN sudo ln -s /usr/local/node-v0.12.9-linux-x64 /usr/local/node
ENV PATH /usr/local/node/bin:$PATH
# install jupyter-nodejs
RUN mkdir -p $HOME/.ipython/kernels/nodejs
RUN wget https://github.com/notablemind/jupyter-nodejs/releases/download/v1.1.0/jupyter-nodejs-1.1.0.tgz
RUN tar xf jupyter-nodejs-1.1.0.tgz
WORKDIR /tmp/package
RUN npm install && node install.js
# change directory back to /notebooks
WORKDIR /notebooks
Hi!
Note: I am new both to jupyter and docker.
I am struggling to create a docker image from the base image: https://github.com/jupyter/notebook/ that would also contain jupyter-nodejs.
I added nodejs to the new image via ubuntu apt-get but jupyter-nodejs installation always fails in some way. Could you share some advice / help me to create such image?
I think such a docker image with nice web jupyter notebook for python and nodejs would be extremely useful.
The text was updated successfully, but these errors were encountered: