Spaces:
Sleeping
Sleeping
maxAlone commited on
Commit ·
aa9f9e1
1
Parent(s): 7715dba
del entryp
Browse files- entrypoint.sh +0 -17
entrypoint.sh
DELETED
|
@@ -1,17 +0,0 @@
|
|
| 1 |
-
#!/bin/sh
|
| 2 |
-
|
| 3 |
-
# Copia i file in /data solo se non esistono già
|
| 4 |
-
if [ ! -f /data/settings.js ]; then
|
| 5 |
-
cp /tmp/nodered-init/settings.js /data/settings.js
|
| 6 |
-
fi
|
| 7 |
-
|
| 8 |
-
if [ ! -f /data/flows.json ]; then
|
| 9 |
-
cp /tmp/nodered-init/flows.json /data/flows.json
|
| 10 |
-
fi
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
# Avvia Node-RED
|
| 17 |
-
exec node /usr/src/node-red/node_modules/node-red/red.js --userDir /data --port 7860
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|