Skip to content

Instantly share code, notes, and snippets.

@vaclavcadek
Created December 19, 2017 12:26
Show Gist options
  • Save vaclavcadek/a2ba9500d967506666da274d9f4eb2a6 to your computer and use it in GitHub Desktop.
Save vaclavcadek/a2ba9500d967506666da274d9f4eb2a6 to your computer and use it in GitHub Desktop.
Jupyter notebook minimal configuration.
FROM ubuntu:latest
MAINTAINER Vaclav Cadek
RUN apt-get update
RUN apt-get install python-virtualenv -y
RUN virtualenv -p /usr/bin/python3 ~/venv
RUN . ~/venv/bin/activate
RUN ~/venv/bin/pip install numpy pandas matplotlib jupyter
EXPOSE 8888
CMD ["sh", "-c", "/root/venv/bin/jupyter notebook --no-browser --ip=*"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment