ThongCoder commited on
Commit
7bd555c
verified
1 Parent(s): 94c3b7b

Create entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +11 -0
entrypoint.sh ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ set -e
3
+
4
+ # Run restore before starting VS Code
5
+ python3 /restore.py || echo "[Restore] Skipped or failed"
6
+
7
+ # Start autobackup in background
8
+ python3 /backup.py &
9
+
10
+ # Start VS Code (code-server)
11
+ exec code-server --bind-addr 0.0.0.0:7860 --auth none /home/vscode