Spaces:
Runtime error
Runtime error
musarehmani100
commited on
Commit
•
0f70a12
1
Parent(s):
1652bad
Create docker-entrypoint.sh
Browse files- docker-entrypoint.sh +8 -0
docker-entrypoint.sh
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/sh
|
2 |
+
if [ "$#" -gt 0 ]; then
|
3 |
+
# Got started with arguments
|
4 |
+
exec n8n "$@"
|
5 |
+
else
|
6 |
+
# Got started without arguments
|
7 |
+
exec n8n
|
8 |
+
fi
|