Skip to content

Commit

Permalink
Combine repetitive RUN commands
Browse files Browse the repository at this point in the history
  • Loading branch information
yuvipanda committed Oct 17, 2023
1 parent 761fa40 commit d412cf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions images/base-notebook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ USER root
RUN fix-permissions /etc/jupyter/

# Symlink scripts to their older .sh variants for backwards compatibility
RUN ln -s /usr/local/bin/start-notebook /usr/local/bin/start-notebook.sh
RUN ln -s /usr/local/bin/start-jupyterhub /usr/local/bin/start-jupyterhub.sh
RUN ln -s /usr/local/bin/start-notebook /usr/local/bin/start-notebook.sh && \
ln -s /usr/local/bin/start-jupyterhub /usr/local/bin/start-jupyterhub.sh

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

0 comments on commit d412cf8

Please sign in to comment.