Uncaught ReferenceError: webpackJsonp is not defined

Running GITLAB 10.7.4 using docker-compose.
Recently, it started throwing the error Uncaught ReferenceError: webpackJsonp is not defined at common.2236feaeadf92ab51c55.bundle.js:1 main.74203fd14c48d21f7d62.bundle.js:1

May I know what commands to run to clear the assets cache and rebuild it so that we can avoid the afore mentioned error?

Is it safe to try the below commands?

docker-compose run --rm gitlab app:rake gitlab:assets:clean

docker-compose run --rm gitlab app:rake gitlab:assets:compile

docker-compose run --rm gitlab app:rake cache:clear