Skip to content

Commit

Permalink
Actually use the Jupyterlite config for offline resource usage, remov…
Browse files Browse the repository at this point in the history
…e source maps
  • Loading branch information
mkr committed May 16, 2023
1 parent 87473ed commit 2f76d5d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ ENV TARGET_DIR=${GITHUB_WORKSPACE:-/github/workspace}
# (see https://jupyterlite.readthedocs.io/en/latest/howto/configure/advanced/offline.html), the
# Kernel version is taken from https://github.com/jupyterlite/pyodide-kernel/blob/main/packages/pyodide-kernel/package.json
CMD jupyter lite build \
--config /build/jupyter_lite_config.json \
--lite-dir /build \
--pyodide https://github.com/pyodide/pyodide/releases/download/0.23.2/pyodide-0.23.2.tar.bz2 \
--no-sourcemaps \
--output-dir notebooks \
--pyodide https://github.com/pyodide/pyodide/releases/download/0.23.2/pyodide-0.23.2.tar.bz2 \
&& tar -czf ${TARGET_DIR}/jupyter-lite-build.tgz notebooks

0 comments on commit 2f76d5d

Please sign in to comment.