Last active
April 24, 2017 20:47
-
-
Save pratos/eafb92540725d8fb81a58d3e5eee126c to your computer and use it in GitHub Desktop.
'Docker for Data Science' blogpost
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Base image | |
FROM python:3.5.3-onbuild | |
# Updating repository sources | |
RUN apt-get update | |
# Installing cron and curl | |
RUN apt-get install cron -yqq \ | |
curl | |
# Creating directories | |
RUN mkdir /data | |
RUN mkdir /notebooks | |
RUN mkdir /tmp/tflearn_logs | |
# Setting up volumes | |
VOLUME ["/data", "/notebooks", "/tmp/tflearn_logs"] | |
# jupyter | |
EXPOSE 8888 | |
CMD jupyter notebook --no-browser --ip=0.0.0.0 --allow-root --NotebookApp.token='demo' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment