build: 添加构建日志

This commit is contained in:
louis 2024-03-04 10:01:05 +08:00
parent 8dedce3ca5
commit e481f98e2a
1 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,10 @@
#!/bin/bash
# 拉取最新的代码
echo "Pulling latest code..."
git pull
docker compose --env-file .env --env-file .env.production up -d --build
echo "Building and starting docker services..."
docker compose --env-file .env --env-file .env.production up -d --build
echo "build succeeds."