diff --git a/build/COPY_ROOT/opt/ai-dock/bin/preflight.d/.gitkeep b/build/COPY_ROOT/opt/ai-dock/bin/preflight.d/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/build/COPY_ROOT/opt/ai-dock/bin/preflight.sh b/build/COPY_ROOT/opt/ai-dock/bin/preflight.sh deleted file mode 100755 index 7613d93..0000000 --- a/build/COPY_ROOT/opt/ai-dock/bin/preflight.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/false - -# This file will be sourced in init.sh - -function preflight_main() { - preflight_do_something -} - -function preflight_do_something() { - printf "Empty preflight.sh...\n" -} - -preflight_main "$@" \ No newline at end of file diff --git a/build/COPY_ROOT/opt/ai-dock/bin/supervisor-jupyter.sh b/build/COPY_ROOT/opt/ai-dock/bin/supervisor-jupyter.sh index fda5686..9ed4ce4 100755 --- a/build/COPY_ROOT/opt/ai-dock/bin/supervisor-jupyter.sh +++ b/build/COPY_ROOT/opt/ai-dock/bin/supervisor-jupyter.sh @@ -91,7 +91,7 @@ function start() { --ServerApp.allow_origin='*' \ --ServerApp.allow_credentials=True \ --ServerApp.root_dir=/ \ - --ServerApp.preferred_dir=$WORKSPACE \ + --ServerApp.preferred_dir="$WORKSPACE" \ --ServerApp.terminado_settings="{'shell_command': ['bash','-c','bash']}" \ --KernelSpecManager.ensure_native_kernel=False }