fix: 移除 Dockerfile.backend 中对已被 git 忽略的 data/ 目录的复制
All checks were successful
构建并部署 AI Agent 服务 / deploy (push) Successful in 40m4s

This commit is contained in:
2026-04-17 01:37:14 +08:00
parent dbc2779973
commit 6042d4a476

View File

@@ -29,11 +29,10 @@ COPY requirement.txt .
RUN pip install --no-cache-dir -r requirement.txt RUN pip install --no-cache-dir -r requirement.txt
# ============================================================================= # =============================================================================
# 复制项目代码 # 复制项目代码 (只复制必需的文件夹,避免依赖被忽略的目录)
# ============================================================================= # =============================================================================
COPY app/ ./app/ COPY app/ ./app/
COPY frontend/ ./frontend/ COPY frontend/ ./frontend/
COPY data/ ./data/
COPY scripts/ ./scripts/ COPY scripts/ ./scripts/
# ============================================================================= # =============================================================================