codematic / entrypoint.sh
ThongCoder's picture
Update entrypoint.sh
14ee7b2 verified
raw
history blame
322 Bytes
#!/bin/bash
set -e
export PATH=$PATH:/home/vscode/.local/bin
# Run restore before starting VS Code
python3 /restore.py || echo "[Restore] Skipped or failed"
# Start autobackup in background
python3 /backup.py &
# Start VS Code (code-server)
exec code-server --bind-addr 0.0.0.0:7860 --auth none /home/vscode/workspace