# only allow to run this script as root if [ "$EUID" -ne 0 ] then echo "Please run as root" exit fi echo "Starting static web build of admin-dashboard-web" npm run build echo "Finished static web build of admin-dashboard-web"