镜像默认添加常用库
This commit is contained in:
+6
-1
@@ -2,9 +2,14 @@ FROM node:20-slim
|
|||||||
|
|
||||||
# 常用命令行工具:Agent 的 terminal 工具经常用到
|
# 常用命令行工具:Agent 的 terminal 工具经常用到
|
||||||
RUN apt-get update -y && apt-get install -y --no-install-recommends \
|
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/*
|
&& 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
|
WORKDIR /app
|
||||||
|
|
||||||
COPY package.json package-lock.json ./
|
COPY package.json package-lock.json ./
|
||||||
|
|||||||
Reference in New Issue
Block a user