Create startup.sh

This commit is contained in:
MasterPhooey
2025-01-02 20:25:45 -06:00
committed by GitHub
parent 621dc64b54
commit a5d3307d8c

11
startup.sh Normal file
View File

@@ -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 "$@"