We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81ca06f commit d89c9feCopy full SHA for d89c9fe
1 file changed
entrypoint-user.sh
@@ -44,6 +44,16 @@ if [ ! -d "/app/log" ]; then
44
ln -s "${LGSM_LOGDIR}" "/app/log"
45
fi
46
47
+# npm install in /app/lgsm
48
+if [ -f "/app/lgsm/package.json" ]; then
49
+ echo -e ""
50
+ echo -e "npm install in /app/lgsm"
51
+ echo -e "================================="
52
+ cd /app/lgsm || exit
53
+ npm install
54
+ cd /app || exit
55
+fi
56
+
57
# Clear modules directory if not master
58
if [ "${LGSM_GITHUBBRANCH}" != "master" ]; then
59
echo -e "not master branch, clearing modules directory"
0 commit comments