Update docker-entrypoint.sh
This commit is contained in:
@@ -8,10 +8,8 @@ if [ -n "$NPM_PACKAGES" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$CUSTOM_UI" ]; then
|
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/editor-ui
|
||||||
rm -rf /usr/local/lib/node_modules/n8n/packages/dits
|
tar -xzf /tmp/dist.tgz -C /usr/local/lib/node_modules/n8n/packages/editor-ui
|
||||||
tar -xzf /tmp/dist.tgz -C /usr/local/lib/node_modules/n8n/packages
|
|
||||||
rm /tmp/dist.tgz
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$#" -gt 0 ]; then
|
if [ "$#" -gt 0 ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user