#!/usr/bin/env sh set -e cd /var/www/html if [ ! -d node_modules ] || [ ! -f node_modules/.package-lock.json ]; then npm install fi exec "$@"