generated from coop-cloud/example
15 lines
421 B
Bash
15 lines
421 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
{{ if eq (env "ENABLE_OAUTH") "1" }}
|
|
# renovate: datasource=npm depName=passport-oauth2 extractVersion=true
|
|
OAUTH_PACKAGE_VERSION=1.8.0
|
|
npm install --prefix=/data --no-audit --no-fund passport-oauth2@${OAUTH_PACKAGE_VERSION}
|
|
{{ end }}
|
|
|
|
{{ if not (eq (env "EXTRA_MODULES") "") }}
|
|
npm install --prefix=/data --no-audit --no-fund {{ env "EXTRA_MODULES" }}
|
|
{{ end }}
|
|
|
|
/usr/src/node-red/entrypoint.sh "$@"
|