Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -148,13 +148,13 @@ def restore():
|
|
| 148 |
flag_exists = INIT_FLAG in all_files
|
| 149 |
|
| 150 |
if not flag_exists and not force_restore:
|
| 151 |
-
print("Restore skip: initialized.flag not found
|
| 152 |
return
|
| 153 |
|
| 154 |
if force_restore:
|
| 155 |
print("Restore: FORCE_RESTORE=true, ignoring initialized.flag.")
|
| 156 |
else:
|
| 157 |
-
print("Restore: initialized.flag
|
| 158 |
|
| 159 |
# 解析跳過列表(用於在解壓時逐條目跳過,不是解壓後刪除)
|
| 160 |
skip_set = _parse_skip_list("RESTORE_SKIP")
|
|
|
|
| 148 |
flag_exists = INIT_FLAG in all_files
|
| 149 |
|
| 150 |
if not flag_exists and not force_restore:
|
| 151 |
+
print("Restore skip: initialized.flag not found, this is first deploy or rebuild.")
|
| 152 |
return
|
| 153 |
|
| 154 |
if force_restore:
|
| 155 |
print("Restore: FORCE_RESTORE=true, ignoring initialized.flag.")
|
| 156 |
else:
|
| 157 |
+
print("Restore: initialized.flag found in Dataset,this is a normal restart. ")
|
| 158 |
|
| 159 |
# 解析跳過列表(用於在解壓時逐條目跳過,不是解壓後刪除)
|
| 160 |
skip_set = _parse_skip_list("RESTORE_SKIP")
|