fuliai commited on
Commit
344a8b9
1 Parent(s): 0474410

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -59,7 +59,8 @@ ENV VIRTUAL_ENV=/opt/venv \
59
 
60
  # 复制构建阶段的 n8n 和 Python 运行环境
61
  COPY --from=builder /usr/local/bin/node /usr/local/bin/node
62
- COPY --from=builder /usr/local/lib/node_modules /usr/local/lib/node_modules || echo "Skipping node_modules copy, not found."
 
63
  COPY --from=builder $VIRTUAL_ENV $VIRTUAL_ENV
64
 
65
  # 安装必要的软件包
 
59
 
60
  # 复制构建阶段的 n8n 和 Python 运行环境
61
  COPY --from=builder /usr/local/bin/node /usr/local/bin/node
62
+ COPY --from=builder /usr/lib/node_modules /usr/local/lib/node_modules
63
+ COPY --from=builder /usr/local/lib/node_modules /usr/local/lib/node_modules
64
  COPY --from=builder $VIRTUAL_ENV $VIRTUAL_ENV
65
 
66
  # 安装必要的软件包