mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
🐳 Fix docker images with custom commands #309
This commit is contained in:
@@ -6,5 +6,10 @@ if [ -d /root/.n8n ] ; then
|
||||
ln -s /root/.n8n /home/node/
|
||||
fi
|
||||
|
||||
if [ "$#" -gt 0 ]; then shift; fi
|
||||
exec gosu node n8n $@
|
||||
if [ "$#" -gt 0 ]; then
|
||||
# Got started with arguments
|
||||
exec gosu node "$@"
|
||||
else
|
||||
# Got started without arguments
|
||||
exec gosu node n8n
|
||||
fi
|
||||
|
||||
@@ -6,5 +6,10 @@ if [ -d /root/.n8n ] ; then
|
||||
ln -s /root/.n8n /home/node/
|
||||
fi
|
||||
|
||||
if [ "$#" -gt 0 ]; then shift; fi
|
||||
exec su-exec node n8n $@
|
||||
if [ "$#" -gt 0 ]; then
|
||||
# Got started with arguments
|
||||
exec su-exec node "$@"
|
||||
else
|
||||
# Got started without arguments
|
||||
exec su-exec node n8n
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user