Spaces:
Running
Running
n8n build error fix
Browse files- 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 |
-
|
|
|
|
|
|
|
| 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 |
# 创建环境变量文件
|