Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
|
@@ -16,8 +16,9 @@ RUN apt-get update && apt-get install -y \
|
|
| 16 |
# 创建 python 的符号链接
|
| 17 |
RUN ln -s /usr/bin/python3.11 /usr/bin/python
|
| 18 |
|
| 19 |
-
#
|
| 20 |
-
RUN
|
|
|
|
| 21 |
|
| 22 |
# # 创建非特权用户
|
| 23 |
RUN useradd -m -s /bin/bash appuser
|
|
|
|
| 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
|