Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -11,9 +11,9 @@ ENV TZ=Asia/Shanghai \
|
|
| 11 |
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \
|
| 12 |
echo $TZ > /etc/timezone
|
| 13 |
|
| 14 |
-
#
|
| 15 |
RUN apt-get update && \
|
| 16 |
-
apt-get install -y wget tar python3 python3-pip && \
|
| 17 |
rm -rf /var/lib/apt/lists/*
|
| 18 |
|
| 19 |
# 创建应用目录
|
|
|
|
| 11 |
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \
|
| 12 |
echo $TZ > /etc/timezone
|
| 13 |
|
| 14 |
+
# 安装系统依赖(包括python3-venv)
|
| 15 |
RUN apt-get update && \
|
| 16 |
+
apt-get install -y wget tar python3 python3-pip python3-venv && \
|
| 17 |
rm -rf /var/lib/apt/lists/*
|
| 18 |
|
| 19 |
# 创建应用目录
|