Update docker-entrypoint.sh

This commit is contained in:
2023-11-16 06:38:19 +00:00
parent 73fddbe3f0
commit 59b675e29a

View File

@@ -8,10 +8,8 @@ if [ -n "$NPM_PACKAGES" ]; then
fi
if [ -n "$CUSTOM_UI" ]; then
# extract /tmp/dist.tgz to /usr/local/lib/node_modules/n8n/packages/dits
rm -rf /usr/local/lib/node_modules/n8n/packages/dits
tar -xzf /tmp/dist.tgz -C /usr/local/lib/node_modules/n8n/packages
rm /tmp/dist.tgz
rm -rf /usr/local/lib/node_modules/n8n/packages/editor-ui
tar -xzf /tmp/dist.tgz -C /usr/local/lib/node_modules/n8n/packages/editor-ui
fi
if [ "$#" -gt 0 ]; then