In what context does the "afterFirstDeployCommand" run?

This command is executed inside the newly deployed, running service