File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -239,10 +239,13 @@ Both are exposed in the example parameter file `example-parameters.yaml`.
239239A number of key files are prepared by the built-in ` /usr/local/bin/start.sh ` script
240240that the operator creates (via a ** ConfigMap** ). This script, used as the
241241container's ** command** , will also recursively copy the content of the container image's
242- ` /home/code/copy-to-home ` directory (if it exists) to ` ~ ` prior to running Jupyter.
242+ ` /home/code/copy-to-startup ` directory (if it exists) to the parent of the
243+ ` $HOME ` (` ~ ` ) directory (the parent of the instance directory) prior to
244+ running Jupyter.
245+
243246The script copies files using the command: -
244247
245- cp -r -u /home/code/copy-to-home/* ~
248+ cp -r -u /home/code/copy-to-home/* ~/..
246249
247250---
248251
Original file line number Diff line number Diff line change 8888 cp /etc/jupyter_notebook_config.json ~
8989fi
9090
91- if [ -d /home/code/copy-to-home ]; then
92- echo "Copying copy-to-home content"
93- cp -r -u /home/code/copy-to-home /* ~
91+ if [ -d /home/code/copy-to-startup ]; then
92+ echo "Copying copy-to-startup content"
93+ cp -r -u /home/code/copy-to-startup /* ~/..
9494fi
9595
9696jupyter lab --config=~/jupyter_notebook_config.json
You can’t perform that action at this time.
0 commit comments