mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
build: Prevent non-hoisted dependencies from breaking docker images (#3852)
This commit is contained in:
parent
f3586b48f2
commit
c1451d2688
|
@ -14,7 +14,7 @@ if [ "$#" -gt 0 ]; then
|
||||||
|
|
||||||
if [[ "$COMMAND" == "n8n" ]]; then
|
if [[ "$COMMAND" == "n8n" ]]; then
|
||||||
shift
|
shift
|
||||||
exec su-exec node ./packages/cli/bin/n8n "$@"
|
(cd packages/cli; exec su-exec node ./bin/n8n "$@")
|
||||||
else
|
else
|
||||||
exec su-exec node "$@"
|
exec su-exec node "$@"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue