ci: Fix docker builds for releases (#7865)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-11-29 15:25:50 +01:00
committed by GitHub
parent 5207a2fe52
commit d5762a7539
4 changed files with 327 additions and 593 deletions

View File

@@ -16,6 +16,7 @@ RUN set -eux; \
case "$apkArch" in \
'armv7') apk del build-dependencies;; \
esac && \
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" | xargs rm && \