mirror of
https://github.com/n8n-io/n8n.git
synced 2026-10-17 05:29:44 +02:00
fix: Update NPM to address security vulnerability (#15968)
This commit is contained in:
parent
ac06610485
commit
2e18e07070
|
|
@ -65,6 +65,9 @@ RUN \
|
|||
mkdir .n8n && \
|
||||
chown node:node .n8n
|
||||
|
||||
# Install npm 11.4.1 to fix the vulnerable cross-spawn dependency
|
||||
RUN npm install -g npm@11.4.1
|
||||
|
||||
ENV SHELL /bin/sh
|
||||
USER node
|
||||
ENTRYPOINT ["tini", "--", "/docker-entrypoint.sh"]
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user