#!/bin/bash # 更新代码 git pull # 构建镜像 docker compose build # 重启服务 docker compose up -d