Skip to content

Commit 2e18e07

Browse files
authored
fix: Update NPM to address security vulnerability (#15968)
1 parent ac06610 commit 2e18e07

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docker/images/n8n/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ RUN \
6565
mkdir .n8n && \
6666
chown node:node .n8n
6767

68+
# Install npm 11.4.1 to fix the vulnerable cross-spawn dependency
69+
RUN npm install -g [email protected]
70+
6871
ENV SHELL /bin/sh
6972
USER node
7073
ENTRYPOINT ["tini", "--", "/docker-entrypoint.sh"]

0 commit comments

Comments
 (0)