Update entrypoint.sh
Browse files21 unmodified lines222324252526272820 unmodified lines49505152535452535421 unmodified lines# STEP 1: RESTORE (Try, but continue if bucket empty)# ============================================echo '=== [STEP 1] RESTORING DATA FROM BUCKET ==='if hf sync "$BUCKET" "$SOURCE" --delete 2>/dev/null; thenif hf sync "$BUCKET" "$SOURCE" --delete --exclude ".npm/*" --exclude ".cache/*" 2>/dev/null; then echo '=== [STEP 1] RESTORE COMPLETE ==='else echo '=== [STEP 1] Restore skipped (bucket empty or failed - continuing anyway) ==='20 unmodified lines exit 1 fi # Real-time continuous sync (no interval - continuous!) hf sync "$SOURCE" "$BUCKET" --deletedone # Real-time continuous sync with exclusions hf sync "$SOURCE" "$BUCKET" --delete --exclude ".npm/*" --exclude ".cache/*"doneentrypoint.sh+4-4