mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
fix: Update NPM to address security vulnerability (#15968)
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user