lydgs commited on
Commit
6be2acc
·
verified ·
1 Parent(s): df57048

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -10
Dockerfile CHANGED
@@ -8,10 +8,7 @@ RUN apt-get update && apt-get install -y \
8
  supervisor \
9
  python3 \
10
  python3-pip \
11
- python3-requests \
12
  && rm -rf /var/lib/apt/lists/*
13
- # 确保 requests 模块可用(pip 安装到正确路径)
14
- RUN pip3 install requests --break-system-packages
15
  RUN git clone https://github.com/tashfeenahmed/freellmapi.git .
16
  RUN npm config set registry https://registry.npmmirror.com && npm install
17
  RUN npm run build
@@ -20,13 +17,7 @@ RUN npm run build
20
  FROM node:20-slim AS runner
21
  WORKDIR /app
22
 
23
- # 安装运行时依赖:cron, supervisor, python3, pip
24
- RUN apt-get update && apt-get install -y \
25
- cron \
26
- supervisor \
27
- python3 \
28
- python3-pip \
29
- && rm -rf /var/lib/apt/lists/*
30
 
31
  # 安装 huggingface-hub
32
  RUN pip3 install huggingface-hub --break-system-packages || pip3 install huggingface-hub
 
8
  supervisor \
9
  python3 \
10
  python3-pip \
 
11
  && rm -rf /var/lib/apt/lists/*
 
 
12
  RUN git clone https://github.com/tashfeenahmed/freellmapi.git .
13
  RUN npm config set registry https://registry.npmmirror.com && npm install
14
  RUN npm run build
 
17
  FROM node:20-slim AS runner
18
  WORKDIR /app
19
 
20
+
 
 
 
 
 
 
21
 
22
  # 安装 huggingface-hub
23
  RUN pip3 install huggingface-hub --break-system-packages || pip3 install huggingface-hub