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