Skip to content

Commit aedf3e7

Browse files
authored
Remove jupyter_notebook_config.py (#1945)
* Remove jupyter_notebook_config.py * Update Dockerfile
1 parent df6884f commit aedf3e7

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

base-notebook/Dockerfile

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,11 @@ CMD ["start-notebook.sh"]
5656

5757
# Copy local files as late as possible to avoid cache busting
5858
COPY start-notebook.sh start-singleuser.sh /usr/local/bin/
59-
# Currently need to have both jupyter_notebook_config and jupyter_server_config to support classic and lab
6059
COPY jupyter_server_config.py docker_healthcheck.py /etc/jupyter/
6160

6261
# Fix permissions on /etc/jupyter as root
6362
USER root
64-
65-
# Legacy for Jupyter Notebook Server, see: [#1205](https://github.com/jupyter/docker-stacks/issues/1205)
66-
RUN sed -re "s/c.ServerApp/c.NotebookApp/g" \
67-
/etc/jupyter/jupyter_server_config.py > /etc/jupyter/jupyter_notebook_config.py && \
68-
fix-permissions /etc/jupyter/
63+
RUN fix-permissions /etc/jupyter/
6964

7065
# HEALTHCHECK documentation: https://docs.docker.com/engine/reference/builder/#healthcheck
7166
# This healtcheck works well for `lab`, `notebook`, `nbclassic`, `server` and `retro` jupyter commands

0 commit comments

Comments
 (0)