From a5d3307d8c4ed8781c61569f037a69fc94a1b257 Mon Sep 17 00:00:00 2001 From: MasterPhooey <106418429+MasterPhooey@users.noreply.github.com> Date: Thu, 2 Jan 2025 20:25:45 -0600 Subject: [PATCH] Create startup.sh --- startup.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 startup.sh diff --git a/startup.sh b/startup.sh new file mode 100644 index 0000000..2161746 --- /dev/null +++ b/startup.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +# Check if the notebook exists in /data +if [ ! -f /data/basic_training_notebook.ipynb ]; then + echo "Notebook not found in /data. Copying the default notebook..." + cp /root/basic_training_notebook.ipynb /data/basic_training_notebook.ipynb +else + echo "Notebook already exists in /data. Skipping copy." +fi + +exec "$@"