Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5ee097e

Browse files
rgbkrkminrk
authored andcommitted
Dockerfile to track the latest master
1 parent 6aee907 commit 5ee097e

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

Dockerfile

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)