Show More
@@ -1,28 +1,31 b'' | |||
|
1 | 1 | FROM ipython/scipystack |
|
2 | 2 | |
|
3 | 3 | MAINTAINER IPython Project <ipython-dev@scipy.org> |
|
4 | 4 | |
|
5 | 5 | ADD . /srv/ipython/ |
|
6 | 6 | WORKDIR /srv/ipython/ |
|
7 | 7 | |
|
8 |
RUN pip2 install |
|
|
9 | RUN pip3 install -e .[all] | |
|
8 | RUN pip2 install fabric | |
|
9 | RUN pip3 install jsonschema jsonpointer fabric | |
|
10 | 10 | |
|
11 | #RUN ipython2 kernelspec install-self | |
|
12 | #RUN ipython3 kernelspec install-self | |
|
11 | RUN pip2 install . | |
|
12 | RUN pip3 install . | |
|
13 | 13 | |
|
14 | 14 | EXPOSE 8888 |
|
15 | 15 | |
|
16 | 16 | RUN echo "#!/bin/bash\nipython3 notebook --no-browser --port 8888 --ip=0.0.0.0" > /usr/local/bin/notebook.sh |
|
17 | 17 | RUN chmod a+x /usr/local/bin/notebook.sh |
|
18 | 18 | |
|
19 | 19 | RUN useradd -m -s /bin/bash jupyter |
|
20 | 20 | |
|
21 | 21 | USER jupyter |
|
22 | 22 | ENV HOME /home/jupyter |
|
23 | 23 | ENV SHELL /bin/bash |
|
24 | 24 | ENV USER jupyter |
|
25 | 25 | |
|
26 | 26 | WORKDIR /home/jupyter/ |
|
27 | 27 | |
|
28 | RUN ipython2 kernelspec install-self | |
|
29 | RUN ipython3 kernelspec install-self | |
|
30 | ||
|
28 | 31 | CMD ["/usr/local/bin/notebook.sh"] |
General Comments 0
You need to be logged in to leave comments.
Login now