diff --git a/ee/bulk-operations-dashboard/entrypoint.sh b/ee/bulk-operations-dashboard/entrypoint.sh index bbec7ef5da..62c3385610 100644 --- a/ee/bulk-operations-dashboard/entrypoint.sh +++ b/ee/bulk-operations-dashboard/entrypoint.sh @@ -12,10 +12,12 @@ elif [ -z "$sails_custom__fleetApiToken" ]; then fi # Check if the vulnerability dashboard has been initialized before -if [ ! -f "/usr/src/app/.initialized" ]; then +if [ ! -f "/usr/src/app/initialized" ]; then # if it hasn't, lift the app with in console mode with the --drop flag to create our databsae tables. echo '.exit' | node ./node_modules/sails/bin/sails console --drop + touch /usr/src/app/initialized + fi # Start the dashboard