Grunt - totara/totara-docker-dev GitHub Wiki
If you want to use grunt you can use tgrunt
like this:
# must run the commands from the root of your Totara repo
cd sitefolder
# if the site is Totara 13 or later, then you must run it from the server/ directory
cd server
tgrunt
tgrunt gherkinlint
tgrunt css
Alternatively, you can directly log in to the container directly run node/grunt commands.
tdocker run nodejs bash
# go to your source directory and
npm install
./node_modules/.bin/grunt