cym31152 commited on
Commit
cdfbe38
·
verified ·
1 Parent(s): 68c23a9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,5 +1,5 @@
1
  # 使用基础镜像
2
- FROM debian:latest
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 python3 python3-dev python3-pip
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