From 59b675e29ae83b2ed8e50ee495370ac70ba8a464 Mon Sep 17 00:00:00 2001 From: yoshino-s Date: Thu, 16 Nov 2023 06:38:19 +0000 Subject: [PATCH] Update docker-entrypoint.sh --- docker-entrypoint.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 115a3c4..40d3e16 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -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 @@ -20,4 +18,4 @@ if [ "$#" -gt 0 ]; then else # Got started without arguments exec n8n -fi \ No newline at end of file +fi