fix:优化脚本脚本

This commit is contained in:
Daniel
2026-03-06 10:47:19 +08:00
parent b7ff505dea
commit cbac58af62

2
run.sh
View File

@@ -3,4 +3,4 @@ cd /www/wwwroot/www.airtep.com2/usa
git fetch origin && git reset --hard origin/master && npm run build && pm2 restart 4 git fetch origin && git reset --hard origin/master && npm run build && pm2 restart 4
# 同步更新爬虫 Docker 容器(使用最新代码重新构建镜像并重启) # 同步更新爬虫 Docker 容器(使用最新代码重新构建镜像并重启)
docker build -t usa-dashboard-crawler:latest -f Dockerfile.crawler . && ./scripts/run-crawler-docker-standalone.sh docker build -t usa-dashboard-crawler:latest -f Dockerfile.crawler . && bash scripts/run-crawler-docker-standalone.sh