etgpao commited on
Commit
dd1a389
·
verified ·
1 Parent(s): a77f446

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -1,11 +1,14 @@
1
  # 使用轻量级 Python 镜像
2
  FROM python:3.11-slim
3
 
4
- # 安装一些常用基础库和工具
5
  RUN apt-get update && apt-get install -y \
6
  curl \
7
  git \
8
  wget \
 
 
 
9
  && rm -rf /var/lib/apt/lists/*
10
 
11
  WORKDIR /app
 
1
  # 使用轻量级 Python 镜像
2
  FROM python:3.11-slim
3
 
4
+ # 安装更丰富的工具集,让它更像一个真正的 Linux
5
  RUN apt-get update && apt-get install -y \
6
  curl \
7
  git \
8
  wget \
9
+ procps \
10
+ net-tools \
11
+ iputils-ping \
12
  && rm -rf /var/lib/apt/lists/*
13
 
14
  WORKDIR /app