Skip to content

Commit

Permalink
Adding remote access setting to jupyter config file as part of docker…
Browse files Browse the repository at this point in the history
… image build #680
  • Loading branch information
hemenkapadia committed Oct 2, 2018
1 parent f5bd83c commit c7e38c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile-runtime
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ RUN \
chmod -R a+rwx /jupyter/scikit_learn_data/lfw_home && \
HOME=/jupyter jupyter notebook --generate-config && \
sed -i "s/#c.NotebookApp.token = '<generated>'/c.NotebookApp.token = 'h2o'/" /jupyter/.jupyter/jupyter_notebook_config.py && \
echo "c.NotebookApp.allow_remote_access = False" >> /jupyter/.jupyter/jupyter_notebook_config.py && \
chmod -R a+rwx /jupyter/.jupyter

# Add shell wrapper
Expand Down

0 comments on commit c7e38c7

Please sign in to comment.