Loading Dockerfile_tensorflow +27 −21 Changes for Dockerfile_tensorflow: 27 added lines, 21 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 FROM jupyter/tensorflow-notebook # Set the working directory WORKDIR /home/jovyan # So tensorboard folder doesn't cause an error USER root RUN chmod o+w /home/jovyan # launchbot-specific labels LABEL name.launchbot.io="Data Security for Data Science" LABEL workdir.launchbot.io="/home/jovyan" LABEL description.launchbot.io="Data Security for Data Science" LABEL 8888.port.launchbot.io="Start Tutorial" #Set the working directory WORKDIR /home/jovyan/ # Modules COPY requirements.txt /home/jovyan/requirements.txt RUN pip install -r /home/jovyan/requirements.txt COPY .gitmodules /home/jovyan/.gitmodules RUN git submodule init RUN git submodule update # Add files COPY notebooks /home/jovyan/notebooks COPY data /home/jovyan/data COPY solutions /home/jovyan/solutions COPY steal_ml /home/jovyan/steal_ml # Allow user to write to directory USER root RUN chown -R $NB_USER /home/jovyan \ && chmod -R 774 /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 CMD jupyter notebook --no-browser --port 8888 --ip=* --NotebookApp.token='' --NotebookApp.disable_check_xsrf=True --NotebookApp.iopub_data_rate_limit Loading
Dockerfile_tensorflow +27 −21 Changes for Dockerfile_tensorflow: 27 added lines, 21 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 FROM jupyter/tensorflow-notebook # Set the working directory WORKDIR /home/jovyan # So tensorboard folder doesn't cause an error USER root RUN chmod o+w /home/jovyan # launchbot-specific labels LABEL name.launchbot.io="Data Security for Data Science" LABEL workdir.launchbot.io="/home/jovyan" LABEL description.launchbot.io="Data Security for Data Science" LABEL 8888.port.launchbot.io="Start Tutorial" #Set the working directory WORKDIR /home/jovyan/ # Modules COPY requirements.txt /home/jovyan/requirements.txt RUN pip install -r /home/jovyan/requirements.txt COPY .gitmodules /home/jovyan/.gitmodules RUN git submodule init RUN git submodule update # Add files COPY notebooks /home/jovyan/notebooks COPY data /home/jovyan/data COPY solutions /home/jovyan/solutions COPY steal_ml /home/jovyan/steal_ml # Allow user to write to directory USER root RUN chown -R $NB_USER /home/jovyan \ && chmod -R 774 /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 CMD jupyter notebook --no-browser --port 8888 --ip=* --NotebookApp.token='' --NotebookApp.disable_check_xsrf=True --NotebookApp.iopub_data_rate_limit