Deploying Laravel + React web service

Hello, this is my first time deploying a Laravel web service. According to the docs I need to use Docker, which I did, but now the problem I have is that it uses the npm run build start command, which renders an error since it is not the start command I need. I need to run the composer run dev instead, as I use React and not Vue. I’ve also read on a community post that I need to change the environment to Node to customize the start command, but I also cannot do that since I still need the composer install and it doesn’t recognize the command.

Any help is greatly appreciated.