Skip to content

Commit

Permalink
base: Update latest Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
benz0li committed Feb 18, 2024
1 parent 8573006 commit 038d336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/latest.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ RUN export PIP_BREAK_SYSTEM_PACKAGES=1 \
nbconvert \
python-lsp-server[all] \
## Fix https://github.com/jupyterhub/jupyter-server-proxy/issues/445
&& sed -i 's/subprotocols=self\.subprotocols/subprotocols=self\.selected_subprotocol/g' \
&& sed -i 's/subprotocols=self\.subprotocols/subprotocols=self\.subprotocols if self\.subprotocols else None/g' \
/usr/local/lib/python*/*-packages/jupyter_server_proxy/handlers.py \
## Include custom fonts
&& sed -i 's|</head>|<link rel="preload" href="{{page_config.fullStaticUrl}}/assets/fonts/MesloLGS-NF-Regular.woff2" as="font" type="font/woff2" crossorigin="anonymous"></head>|g' /usr/local/share/jupyter/lab/static/index.html \
Expand Down

0 comments on commit 038d336

Please sign in to comment.