This commit is contained in:
1 parent
d3888cf96e
commit
4ca113a7d7
1 file changed
+6
@@ -9,4 +9,10 @@ fi
|
||||
|
||||
cd /opt/app
|
||||
|
||||
# If node_modules is missing, install dependencies
|
||||
if [ ! -d node_modules ]; then
|
||||
echo "node_modules not found, running npm ci..."
|
||||
npm ci
|
||||
fi
|
||||
|
||||
exec "$@"
|
||||
Reference in new issue
Block a user