codi430 commited on
Commit
fa93dc6
·
verified ·
1 Parent(s): 9c8b023

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -4,7 +4,7 @@ FROM nikolaik/python-nodejs:python3.12-nodejs20
4
  # 添加维护者信息
5
  LABEL maintainer="ai来事 <https://www.youtube.com/@all.ai.>"
6
 
7
- ARG CACHEBUST=226
8
 
9
  # 设置构建参数,提供默认值
10
  ARG WEBHOOK_URL=https://你的hf账户名-空间名.hf.space/
@@ -74,8 +74,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
74
  && python3 -m venv $VIRTUAL_ENV \
75
  && $VIRTUAL_ENV/bin/pip install --no-cache-dir --upgrade pip requests yt-dlp \
76
  # 安装 n8n 1.104.1 (2025-07-23)
77
- && npm install -g n8n@latest pnpm \
78
- #&& npm install --force -g n8n@latest pnpm \
79
  && npm cache clean --force
80
 
81
 
 
4
  # 添加维护者信息
5
  LABEL maintainer="ai来事 <https://www.youtube.com/@all.ai.>"
6
 
7
+ ARG CACHEBUST=227
8
 
9
  # 设置构建参数,提供默认值
10
  ARG WEBHOOK_URL=https://你的hf账户名-空间名.hf.space/
 
74
  && python3 -m venv $VIRTUAL_ENV \
75
  && $VIRTUAL_ENV/bin/pip install --no-cache-dir --upgrade pip requests yt-dlp \
76
  # 安装 n8n 1.104.1 (2025-07-23)
77
+ # && npm install -g n8n@latest pnpm \
78
+ && npm install --force -g n8n@latest pnpm \
79
  && npm cache clean --force
80
 
81