DOCKER: Install passport-cas2 if CAS selected
This commit is contained in:
parent
99e3f12c24
commit
b4d7c1bfcf
1 changed files with 5 additions and 0 deletions
|
@ -170,4 +170,9 @@ if [ "$WITH_ZONE_MTA" = "true" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd server
|
cd server
|
||||||
|
# Install passport-cas2 node package if CAS selected
|
||||||
|
if [ "$WITH_CAS" = "true" ]; then
|
||||||
|
echo 'Info: Installing passport-cas2'
|
||||||
|
NODE_ENV=production npm install passport-cas2
|
||||||
|
fi
|
||||||
NODE_ENV=production node index.js
|
NODE_ENV=production node index.js
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue