| ADD alpine-minirootfs-3.21.2-x86_64.tar.gz / | |
| RUN set -eux; \ | |
| npm install -g --omit=dev n8n@$beta --ignore-scripts && \ | |
| npm rebuild --prefix=/usr/local/lib/node_modules/n8n sqlite3 && \ | |
| rm -rf /usr/local/lib/node_modules/n8n/node_modules/@n8n/chat && \ | |
| rm -rf /usr/local/lib/node_modules/n8n/node_modules/n8n-design-system && \ | |
| rm -rf /usr/local/lib/node_modules/n8n/node_modules/n8n-editor-ui/node_modules && \ | |
| find /usr/local/lib/node_modules/n8n -type f \( -name "*.ts" -o -name "*.js.map" -o -name "*.vue" \) -delete && \ | |
| rm -rf /root/.npm | |
| ENTRYPOINT ["tini", "--", "/docker-entrypoint.sh"] |