修复 Dockerfile 代码复制路径问题
Some checks failed
构建并部署 AI Agent 服务 / deploy (push) Failing after 6m30s

This commit is contained in:
2026-05-06 11:18:42 +08:00
parent 3bfe126f41
commit 6c2d6e8893

View File

@@ -88,9 +88,9 @@ RUN pip install --no-cache-dir --default-timeout=300 -r requirements.txt
COPY docker/models/fastembed_cache /app/fastembed_cache
# =============================================================================
# 复制项目代码(保持 backend 目录结构,适配绝对导入 from backend.app.xxx
# 复制项目代码(直接复制 backend 目录内容到 /app适配 PYTHONPATH=/app
# =============================================================================
COPY backend /app/backend
COPY backend/ ./
# =============================================================================
# 暴露端口