Build and Publish Site / docker (push) Successful in 23s
ABER: Die Applikation funktioniert nur lokal. Die deployte Version geht noch nicht.
13 lines
323 B
Bash
13 lines
323 B
Bash
#!/bin/sh
|
|
|
|
if [ ! -d "/data/node_modules" ] || [ -z "$(ls -A /data/node_modules 2>/dev/null)" ]; then
|
|
echo "Installing Node-RED modules ..."
|
|
cd /data
|
|
npm install --no-update-notifier \
|
|
node-red-contrib-moment \
|
|
node-red-contrib-cron-plus \
|
|
passport-ldapauth
|
|
fi
|
|
|
|
exec /usr/src/node-red/entrypoint.sh
|