fix: 移除 Dockerfile.backend 中对已被 git 忽略的 data/ 目录的复制
All checks were successful
构建并部署 AI Agent 服务 / deploy (push) Successful in 40m4s
All checks were successful
构建并部署 AI Agent 服务 / deploy (push) Successful in 40m4s
This commit is contained in:
@@ -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/
|
||||||
|
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
|
|||||||
Reference in New Issue
Block a user