File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed 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`.
239
239
A number of key files are prepared by the built-in ` /usr/local/bin/start.sh ` script
240
240
that the operator creates (via a ** ConfigMap** ). This script, used as the
241
241
container'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
+
243
246
The script copies files using the command: -
244
247
245
- cp -r -u /home/code/copy-to-home/* ~
248
+ cp -r -u /home/code/copy-to-home/* ~/..
246
249
247
250
---
248
251
Original file line number Diff line number Diff line change 88
88
cp /etc/jupyter_notebook_config.json ~
89
89
fi
90
90
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 /* ~/..
94
94
fi
95
95
96
96
jupyter lab --config=~/jupyter_notebook_config.json
You can’t perform that action at this time.
0 commit comments