Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
|
@@ -74,9 +74,11 @@ 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 cache clean --force
|
| 79 |
|
|
|
|
| 80 |
# 创建环境变量文件
|
| 81 |
RUN --mount=type=secret,id=POSTGRES_USER,mode=0444,required=true \
|
| 82 |
--mount=type=secret,id=POSTGRES_PASSWORD,mode=0444,required=true \
|
|
|
|
| 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 |
+
|
| 82 |
# 创建环境变量文件
|
| 83 |
RUN --mount=type=secret,id=POSTGRES_USER,mode=0444,required=true \
|
| 84 |
--mount=type=secret,id=POSTGRES_PASSWORD,mode=0444,required=true \
|