fix
Some checks failed
部署后端服务 / 🚀 构建并部署后端 (push) Failing after 11s

This commit is contained in:
xujiang
2025-07-15 15:49:16 +08:00
parent c10abdab19
commit 052a91feb8
2 changed files with 10 additions and 6 deletions

View File

@ -58,9 +58,7 @@ services:
# 数据库迁移服务 (一次性运行)
migrate:
build:
context: .
dockerfile: Dockerfile
image: crpi-b4fqtfbvv583enk2.cn-shanghai.personal.cr.aliyuncs.com/photography-backend/photography:latest
container_name: photography-migrate
environment:
DB_HOST: ${DB_HOST:-localhost}