hybtel commited on
Commit
57b31e0
·
verified ·
1 Parent(s): bc1353f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -6,8 +6,9 @@ WORKDIR /home/coder
6
 
7
  # 以 root 用户安装必要的依赖(在切换用户之前)
8
  USER root
 
9
  RUN apt-get update && apt-get install -y \
10
- curl \
11
  && rm -rf /var/lib/apt/lists/*
12
 
13
  # 切换到非 root 用户(code-server 默认使用 coder 用户)
 
6
 
7
  # 以 root 用户安装必要的依赖(在切换用户之前)
8
  USER root
9
+ # apt-get install python3 python3-venv python3-pip
10
  RUN apt-get update && apt-get install -y \
11
+ curl python3 python3-venv python3-pip \
12
  && rm -rf /var/lib/apt/lists/*
13
 
14
  # 切换到非 root 用户(code-server 默认使用 coder 用户)