镜像默认添加常用库

This commit is contained in:
2026-08-31 19:59:24 +08:00
parent 0fb573aded
commit e7671043ef
+6 -1
View File
@@ -2,9 +2,14 @@ FROM node:20-slim
# 常用命令行工具:Agent 的 terminal 工具经常用到
RUN apt-get update -y && apt-get install -y --no-install-recommends \
ca-certificates curl git python3 ripgrep procps\
ca-certificates curl git python3 python3-pip python3-venv python3-dev \
build-essential ripgrep procps unzip wget jq zip tree file \
&& rm -rf /var/lib/apt/lists/*
RUN pip3 install --no-cache-dir \
requests beautifulsoup4 lxml pandas numpy openpyxl \
python-docx reportlab matplotlib Pillow pypdf python-dateutil
WORKDIR /app
COPY package.json package-lock.json ./