Skip to content

Commit c41616d

Browse files
committed
jupyter#1205: Fix the configuration in jupyter_server_config.py
1 parent e81957f commit c41616d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

base-notebook/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ CMD ["start-notebook.sh"]
150150

151151
# Copy local files as late as possible to avoid cache busting
152152
COPY start.sh start-notebook.sh start-singleuser.sh /usr/local/bin/
153-
COPY jupyter_notebook_config.py /etc/jupyter/
153+
COPY jupyter_server_config.py /etc/jupyter/
154154

155155
# Fix permissions on /etc/jupyter as root
156156
USER root

base-notebook/jupyter_notebook_config.py renamed to base-notebook/jupyter_server_config.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
import stat
99

1010
c = get_config() # noqa: F821
11-
c.NotebookApp.ip = '0.0.0.0'
12-
c.NotebookApp.port = 8888
13-
c.NotebookApp.open_browser = False
11+
c.ServerApp.ip = '0.0.0.0'
12+
c.ServerApp.port = 8888
13+
c.ServerApp.open_browser = False
1414

1515
# https://github.com/jupyter/notebook/issues/3130
1616
c.FileContentsManager.delete_to_trash = False

0 commit comments

Comments
 (0)