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