abidkhan03 commited on
Commit
62f4408
·
verified ·
1 Parent(s): c7983e9

n8n build error fix

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -82,7 +82,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
82
  && python3 -m venv $VIRTUAL_ENV \
83
  && $VIRTUAL_ENV/bin/pip install --no-cache-dir --upgrade pip requests yt-dlp youtube-transcript-api \
84
  # 安装 n8n
85
- && npm install -g n8n@latest pnpm \
 
 
86
  && npm cache clean --force
87
 
88
  # 创建环境变量文件
 
82
  && python3 -m venv $VIRTUAL_ENV \
83
  && $VIRTUAL_ENV/bin/pip install --no-cache-dir --upgrade pip requests yt-dlp youtube-transcript-api \
84
  # 安装 n8n
85
+ # We use --force to overwrite existing pnpx/pnpm binaries
86
+ # provided by the base image
87
+ && npm install -g --force n8n@latest pnpm \
88
  && npm cache clean --force
89
 
90
  # 创建环境变量文件