Skip to content

Commit

Permalink
Docker: Fix terminals in MyBinder
Browse files Browse the repository at this point in the history
As explained in the added comments
  • Loading branch information
2xB authored Oct 19, 2023
1 parent e2c6989 commit a22caf7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,10 @@ RUN sed -i -e "s,'websockify',window.location.pathname.slice(1),g" /usr/share/no
&& ln -fs /usr/share/novnc/vnc_lite.html /usr/share/novnc/index.html
COPY --chown=root:root Docker/startvnc /

# MyBinder mounts /etc/jupyter, making configuration from there e.g. containing terminals inaccessible
# Moving /etc/jupyter to a safer place as a workaround
RUN mkdir -p /usr/etc && mv /etc/jupyter /usr/etc

# Hide Jupyter news announcement
# https://jupyterlab.readthedocs.io/en/stable/user/announcements.html
RUN jupyter labextension disable "@jupyterlab/apputils-extension:announcements"
Expand Down

0 comments on commit a22caf7

Please sign in to comment.