Commit 5f493fdb authored by Patrick Kennedy's avatar Patrick Kennedy
Browse files

Initial commit

parents
Loading
Loading
Loading
Loading

Dockerfile

0 → 100644
+41 −0
Changes for Dockerfile: 41 added lines, 0 removed lines.
Original line number Diff line number Diff line
FROM jupyter/scipy-notebook

# launchbot-specific labels
LABEL name.launchbot.io="Deep Learning"
LABEL workdir.launchbot.io="/home/jovyan"
LABEL description.launchbot.io="Deep Learning"
LABEL 8888.port.launchbot.io="Start Tutorial"

#Set the working directory
WORKDIR /home/jovyan/

# install TensorFlow
RUN conda install --quiet --yes 'tensorflow=1.0*'

# install tflearn and keras: 
RUN pip install tflearn==0.3.2
RUN pip install keras==2.0.8

# install NLP packages:
RUN pip install nltk==3.2.4
RUN pip install gensim==2.3.0

# install Reinforcement Learning packages:
RUN pip install gym==0.9.4

# Add files
COPY notebooks /home/jovyan/notebooks
COPY data /home/jovyan/data
COPY solutions /home/jovyan/solutions

# Allow user to write to directory
USER root
RUN chown -R $NB_USER /home/jovyan \
    && chmod -R 774 /home/jovyan
USER $NB_USER

# Expose the notebook port
EXPOSE 8888

# Start the notebook server
CMD jupyter notebook --no-browser --port 8888 --ip=* --NotebookApp.token='' --NotebookApp.disable_check_xsrf=True --NotebookApp.iopub_data_rate_limit=1.0e10