Closed jan-osch closed 8 years ago
Ok. Fixed: Working Dockerfile
#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
@jan-osch I am happy to hear that you are using jupyter-notebook and got node.js running. Might be interesting for some other people as well.
One note of caution: the containers are not completely stabilized yet, we are still fixing problems and errors (as you might have noticed). It will take a couple more days.
Hi ! I have been working on creating a docker image that would integrate jupyter/notebook with a node-js kernel. I am beginner in both jupyter and docker, so it is challenging for me.
I managed to install everything and get the notebook running. Jupyter recognizes the Node.js kernel but when I open a new notebook with it i get
kernel error
and a stacktrace like this:This is my Dockerfile. Could you share some insights what am I doing wrong?