Unable to deploy React JS application on Azure App service

前端 未结 2 1269
灰色年华
灰色年华 2021-01-28 01:08

I was going through the some of the links to deploy React Js application on the azure app service. But i am facing some problem while deploying the application.

I have ad

2条回答
  •  悲哀的现实
    2021-01-28 01:34

    After doing some googling found solution. We need to add the below command in start up command in app service configuration for the Linux machines.

    pm2 serve /home/site/wwwroot --no-daemon

    Steps:

    - Go to App Service
    
    - Navigate to Configuration
    
    - Click on General Settings
    
    - add the above command in Start up command, click on save 
    
    - then restart the server
    

提交回复
热议问题