fix: Rebuild isolated-vm in Dockerfile (#26672)

This commit is contained in:
Suguru Inoue 2026-03-06 14:04:21 +01:00 committed by GitHub
parent 00ccef8915
commit 854835dcf0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,7 +15,7 @@ COPY ./compiled /usr/local/lib/node_modules/n8n
COPY docker/images/n8n/docker-entrypoint.sh /
RUN cd /usr/local/lib/node_modules/n8n && \
npm rebuild sqlite3 && \
npm rebuild sqlite3 isolated-vm && \
ln -s /usr/local/lib/node_modules/n8n/bin/n8n /usr/local/bin/n8n && \
mkdir -p /home/node/.n8n && \
chown -R node:node /home/node && \