0%

Azure-AppServices

App Services

部署单页应用

appservices.PNG

Publish 内容为 Code, 将构建好的architects上传到服务器wwwroot目录
在App Services的通用设置(Configuration->General Settings)中设置startup command

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

Troubleshooting

Could not detect any platform in the source directory.

在App Services的应用设置(Configuration->Application Settings)中添加配置项
SCM_DO_BUILD_DURING_DEPLOYMENT = false

API Management