This commit is contained in:
@@ -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/ ./
|
||||
|
||||
# =============================================================================
|
||||
# 暴露端口
|
||||
|
||||
Reference in New Issue
Block a user