This commit is contained in:
zhanggangyong
2026-01-15 17:22:16 +00:00
parent 3a19aacd43
commit f065b00d12
8 changed files with 741 additions and 32 deletions
+7
View File
@@ -2,10 +2,17 @@ FROM python:3.11-slim
WORKDIR /app
# 安装系统依赖
RUN apt-get update && apt-get install -y \
curl \
&& rm -rf /var/lib/apt/lists/*
# 复制应用代码
COPY requirements.txt .
COPY app.py .
COPY k8s_manager.py .
COPY database.py .
COPY agent_manager/ ./agent_manager/
# 安装依赖
RUN pip install --no-cache-dir -r requirements.txt