BG5 commited on
Commit
780e6b8
·
verified ·
1 Parent(s): 086b7a1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -4
Dockerfile CHANGED
@@ -11,15 +11,12 @@ RUN apt-get update && apt-get install -y \
11
  software-properties-common \
12
  && apt-get update \
13
  && apt-get install -y python3.11 python3.11-distutils \
 
14
  && apt-get clean
15
 
16
  # 创建 python 的符号链接
17
  RUN ln -s /usr/bin/python3.11 /usr/bin/python
18
 
19
- # 使用系统包管理器安装 pip
20
- RUN apt-get update && apt-get install -y python3-pip \
21
- && apt-get clean
22
-
23
  # # 创建非特权用户
24
  RUN useradd -m -s /bin/bash appuser
25
 
 
11
  software-properties-common \
12
  && apt-get update \
13
  && apt-get install -y python3.11 python3.11-distutils \
14
+ && apt-get install -y python3-pip \
15
  && apt-get clean
16
 
17
  # 创建 python 的符号链接
18
  RUN ln -s /usr/bin/python3.11 /usr/bin/python
19
 
 
 
 
 
20
  # # 创建非特权用户
21
  RUN useradd -m -s /bin/bash appuser
22