mirror of
https://github.com/XaverKlemenschits/jupyter-c-kernel.git
synced 2025-04-14 18:36:10 +00:00
Fix #9
This commit is contained in:
parent
00d5d42e0e
commit
6a26d60a2b
10
.dockerignore
Normal file
10
.dockerignore
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
__pycache__
|
||||||
|
*.pyc
|
||||||
|
build/
|
||||||
|
dist/
|
||||||
|
MANIFEST
|
||||||
|
.idea/
|
||||||
|
.ipynb_checkpoints/
|
||||||
|
*.egg-info/
|
||||||
|
.git
|
||||||
|
.gitignore
|
13
Dockerfile
13
Dockerfile
@ -3,6 +3,13 @@ MAINTAINER Brendan Rius <ping@brendan-rius.com>
|
|||||||
|
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
COPY ./ /home/$NB_USER/.jupyter/jupyter_c_kernel/
|
RUN mkdir /jupyter
|
||||||
RUN pip install /home/$NB_USER/.jupyter/jupyter_c_kernel/
|
|
||||||
RUN jupyter-kernelspec install /home/$NB_USER/.jupyter/jupyter_c_kernel/c_spec/
|
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/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user