##// END OF EJS Templates
install direct dependencies, kernels
install direct dependencies, kernels

File last commit:

r17969:1c4d4752
r17969:1c4d4752
Show More
Dockerfile
31 lines | 640 B | text/x-dockerfile-config | DockerLexer
Kyle Kelley
Dockerfile to track the latest master
r17968 FROM ipython/scipystack
MAINTAINER IPython Project <ipython-dev@scipy.org>
ADD . /srv/ipython/
WORKDIR /srv/ipython/
Kyle Kelley
install direct dependencies, kernels
r17969 RUN pip2 install fabric
RUN pip3 install jsonschema jsonpointer fabric
Kyle Kelley
Dockerfile to track the latest master
r17968
Kyle Kelley
install direct dependencies, kernels
r17969 RUN pip2 install .
RUN pip3 install .
Kyle Kelley
Dockerfile to track the latest master
r17968
EXPOSE 8888
RUN echo "#!/bin/bash\nipython3 notebook --no-browser --port 8888 --ip=0.0.0.0" > /usr/local/bin/notebook.sh
RUN chmod a+x /usr/local/bin/notebook.sh
RUN useradd -m -s /bin/bash jupyter
USER jupyter
ENV HOME /home/jupyter
ENV SHELL /bin/bash
ENV USER jupyter
WORKDIR /home/jupyter/
Kyle Kelley
install direct dependencies, kernels
r17969 RUN ipython2 kernelspec install-self
RUN ipython3 kernelspec install-self
Kyle Kelley
Dockerfile to track the latest master
r17968 CMD ["/usr/local/bin/notebook.sh"]