Browse Source

update: 更新 docker 运行脚本配置

dongzhaorui 2 years ago
parent
commit
d6a162f0b5
1 changed files with 3 additions and 3 deletions
  1. 3 3
      ybw/start.sh

+ 3 - 3
ybw/start.sh

@@ -1,8 +1,8 @@
 #!/bin/bash
 
 # 切换到指定目录
-cd /mnt/ybw
-/usr/bin/python3 /mnt/ybw/release_account.py
-/usr/bin/python3 /mnt/ybw/detail_spider.py
+cd /mnt
+/usr/bin/python3 /mnt/release_account.py
+/usr/bin/python3 /mnt/detail_spider.py
 #保留终端,防止容器自动退出
 /usr/sbin/init