Commit ad4afbea authored by kjam's avatar kjam
Browse files

Merge remote-tracking branch 'oreilly/master'

parents e5435d75 ad663fde
Loading
Loading
Loading
Loading

Dockerfile_tensorflow

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

USER $NB_USER

# Install tensorflow like in GAN ntbk
RUN pip install --upgrade pip
RUN pip --no-cache-dir install -I tensorflow==1.0.1

# Set the working directory
WORKDIR /home/jovyan

# So tensorboard folder doesn't cause an error
USER root
RUN chmod o+w /home/jovyan

USER $NB_USER

# Add necessary files
ADD index.ipynb index.ipynb
ADD Images/ Images/
ADD models/ models/
ADD negativeReviews/ negativeReviews/
ADD positiveReviews/ positiveReviews/
ADD wordVectors.npy wordVectors.npy
ADD wordsList.npy wordsList.npy
ADD idsMatrix.npy idsMatrix.npy

# 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