#!/bin/bash # 构建 Docker 镜像 set -e cd "$(dirname "$0")/.." echo "构建 Docker 镜像..." docker compose build --no-cache echo "构建完成"