Skip to content

Commit

Permalink
Merge pull request #78 from 2xB/main
Browse files Browse the repository at this point in the history
Docker: Fix terminals in MyBinder
  • Loading branch information
richeldichel authored Oct 20, 2023
2 parents e2c6989 + a22caf7 commit f1bd6f5
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 f1bd6f5

Please sign in to comment.