This commit is contained in:
Brendan Rius 2016-06-08 11:24:21 +01:00
parent 00d5d42e0e
commit 6a26d60a2b
2 changed files with 20 additions and 3 deletions

10
.dockerignore Normal file
View File

@ -0,0 +1,10 @@
__pycache__
*.pyc
build/
dist/
MANIFEST
.idea/
.ipynb_checkpoints/
*.egg-info/
.git
.gitignore

View File

@ -3,6 +3,13 @@ MAINTAINER Brendan Rius <ping@brendan-rius.com>
USER root
COPY ./ /home/$NB_USER/.jupyter/jupyter_c_kernel/
RUN pip install /home/$NB_USER/.jupyter/jupyter_c_kernel/
RUN jupyter-kernelspec install /home/$NB_USER/.jupyter/jupyter_c_kernel/c_spec/
RUN mkdir /jupyter
WORKDIR /jupyter
COPY ./ jupyter_c_kernel/
RUN pip install -e jupyter_c_kernel/
RUN jupyter-kernelspec install jupyter_c_kernel/c_spec/
WORKDIR /home/$NB_USER/