How to deploy strapi 3.4 to azure

Hello we have used in the past strapi alpha version.
And we have got ci/cd in Azure.
in old version we in a pipeline had only npm install --development command
and in release we just run command node server.js

and the project works fine. but we had in the root server.js file

now i have created project with latest version of strapi and it does not have server.js file (it has but only in configuration folder with settings)
so the same release jobs does not work
even if i replace startup command to npm run start it does not help

then i try to login to bash and run it manually

/home/site/wwwroot>npm run start
> xom-api-cms-strapi-3@0.1.0 start /home/site/wwwroot
> strapi start>run
System.ComponentModel.Win32Exception (2): No such file or directory
   at Interop.Sys.ForkAndExecProcess(String filename, String[] argv, String[] envp, String cwd, Boolean redirectStdin, Boolean redirectStdout, Boolean redirectStderr, Boolean setUser, UInt32 userId, UInt32 groupId, Int32& lpChildPid, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean shouldThrow)
   at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
   at Kudu.Core.Commands.CommandExecutor.ExecuteCommandAsync(String command, String relativeWorkingDirectory) in /tmp/KuduLite/Kudu.Core/Commands/CommandExecutor.cs:line 140
   at Kudu.Core.Commands.CommandExecutor.ExecuteCommand(String command, String workingDirectory) in /tmp/KuduLite/Kudu.Core/Commands/CommandExecutor.cs:line 80
   at Kudu.Services.Commands.CommandController.ExecuteCommand(JObject input) in /tmp/KuduLite/Kudu.Services/Commands/CommandController.cs:line 57
> strapi start> 

and the site itself has this error

:frowning: Application Error

If you are the application administrator, you can access the diagnostic resources.

Please help me to find how i can deploy the new version of strapi to azure

We don’t add in the server.js by default as it’s generally not needed but you can create one at the root of your project:

const strapi = require('strapi');

strapi(/* {...} */).start();