Skip to content

Commit 97e7513

Browse files
authored
Merge pull request #13 from m09/password-less-jupyter
Remove token and password for the Jupyter server
2 parents 3af1bab + 2280d42 commit 97e7513

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,13 @@ RUN apt-get update \
7171
&& jupyter contrib nbextension install \
7272
&& jupyter nbextensions_configurator enable
7373

74-
COPY notebook.json /root/.jupyter/nbconfig/notebook.json
74+
COPY jupyter-notebook-config.json /root/.jupyter/nbconfig/notebook.json
75+
COPY jupyter-server-config.json /root/.jupyter/jupyter_notebook_config.json
7576

7677
COPY requirements.txt conf
7778

7879
RUN pip3 install --no-cache-dir -r conf/requirements.txt
7980

8081
WORKDIR /devfest/notebooks
8182

82-
ENTRYPOINT jupyter notebook --ip 0.0.0.0 --allow-root
83+
ENTRYPOINT jupyter notebook --ip 0.0.0.0 --allow-root --no-browser
File renamed without changes.

jupyter-server-config.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"NotebookApp": {
3+
"nbserver_extensions": {
4+
"jupyter_nbextensions_configurator": true
5+
},
6+
"password": "",
7+
"token": ""
8+
}
9+
}

0 commit comments

Comments
 (0)