Compare commits

..

No commits in common. "c906e9e07359b7e0b60074597c6533445658638e" and "6565553231cb678e9d31b85cad89b6ca5a5b6001" have entirely different histories.

2 changed files with 1 additions and 6 deletions

View File

@ -30,11 +30,7 @@ for service in "${SERVICES[@]}"; do
# 构建Docker镜像
echo "正在构建镜像: $IMAGE_NAME"
if [ "$service" = "frontend" ]; then
docker build --build-arg CACHEBUST=$(date +%s) -t $IMAGE_NAME $SERVICE_DIR
else
docker build -t $IMAGE_NAME $SERVICE_DIR
fi
if [ $? -ne 0 ]; then
echo "镜像构建失败"
exit 1

View File

@ -108,7 +108,6 @@ services:
frontend:
image: crpi-amr0dt5e5pywqwaf.cn-hangzhou.personal.cr.aliyuncs.com/testrrr/frontend:latest
pull_policy: always
container_name: ari-frontend
restart: always
depends_on: