Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6aee907 commit 5ee097eCopy full SHA for 5ee097e
1 file changed
Dockerfile
@@ -0,0 +1,28 @@
1
+FROM ipython/scipystack
2
+
3
+MAINTAINER IPython Project <[email protected]>
4
5
+ADD . /srv/ipython/
6
+WORKDIR /srv/ipython/
7
8
+RUN pip2 install -e .[all]
9
+RUN pip3 install -e .[all]
10
11
+#RUN ipython2 kernelspec install-self
12
+#RUN ipython3 kernelspec install-self
13
14
+EXPOSE 8888
15
16
+RUN echo "#!/bin/bash\nipython3 notebook --no-browser --port 8888 --ip=0.0.0.0" > /usr/local/bin/notebook.sh
17
+RUN chmod a+x /usr/local/bin/notebook.sh
18
19
+RUN useradd -m -s /bin/bash jupyter
20
21
+USER jupyter
22
+ENV HOME /home/jupyter
23
+ENV SHELL /bin/bash
24
+ENV USER jupyter
25
26
+WORKDIR /home/jupyter/
27
28
+CMD ["/usr/local/bin/notebook.sh"]
0 commit comments