build: Prevent non-hoisted dependencies from breaking docker images (#3852)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™ 2022-08-08 18:37:08 +02:00 committed by GitHub
parent f3586b48f2
commit c1451d2688
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,7 @@ if [ "$#" -gt 0 ]; then
if [[ "$COMMAND" == "n8n" ]]; then
shift
exec su-exec node ./packages/cli/bin/n8n "$@"
(cd packages/cli; exec su-exec node ./bin/n8n "$@")
else
exec su-exec node "$@"
fi