In my enterprise, we use jenkins for compiling our code and dockerize the whole project.
The problem is when I use npm run build (that execute encore production --progress) it tries to execute the command php bin/console fos:js-routing:dump ...
The problem is the server where I execute npm just contains node js and no php. I need to execute the php command separately.
Is there possible to not execute the php command after executing npm run build?