Skip to content

Commit 2f76d5d

Browse files
committed
Actually use the Jupyterlite config for offline resource usage, remove source maps
1 parent 87473ed commit 2f76d5d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ ENV TARGET_DIR=${GITHUB_WORKSPACE:-/github/workspace}
1414
# (see https://jupyterlite.readthedocs.io/en/latest/howto/configure/advanced/offline.html), the
1515
# Kernel version is taken from https://github.com/jupyterlite/pyodide-kernel/blob/main/packages/pyodide-kernel/package.json
1616
CMD jupyter lite build \
17+
--config /build/jupyter_lite_config.json \
1718
--lite-dir /build \
18-
--pyodide https://github.com/pyodide/pyodide/releases/download/0.23.2/pyodide-0.23.2.tar.bz2 \
19+
--no-sourcemaps \
1920
--output-dir notebooks \
21+
--pyodide https://github.com/pyodide/pyodide/releases/download/0.23.2/pyodide-0.23.2.tar.bz2 \
2022
&& tar -czf ${TARGET_DIR}/jupyter-lite-build.tgz notebooks

0 commit comments

Comments
 (0)