Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
# 使用基础镜像
|
| 2 |
-
FROM
|
| 3 |
|
| 4 |
# 安装必要的工具
|
| 5 |
RUN apt-get update && apt-get install -y \
|
|
@@ -7,7 +7,7 @@ RUN apt-get update && apt-get install -y \
|
|
| 7 |
tar
|
| 8 |
RUN apt-get update && apt-get install -y aria2
|
| 9 |
|
| 10 |
-
RUN apt-get update && apt-get install -y nodejs npm git curl jq
|
| 11 |
RUN pip install --no-cache-dir huggingface_hub
|
| 12 |
# 设置工作目录
|
| 13 |
WORKDIR /app
|
|
|
|
| 1 |
# 使用基础镜像
|
| 2 |
+
FROM python:3.11
|
| 3 |
|
| 4 |
# 安装必要的工具
|
| 5 |
RUN apt-get update && apt-get install -y \
|
|
|
|
| 7 |
tar
|
| 8 |
RUN apt-get update && apt-get install -y aria2
|
| 9 |
|
| 10 |
+
RUN apt-get update && apt-get install -y nodejs npm git curl jq
|
| 11 |
RUN pip install --no-cache-dir huggingface_hub
|
| 12 |
# 设置工作目录
|
| 13 |
WORKDIR /app
|