Update docker-entrypoint.sh
This commit is contained in:
@@ -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
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user