0
votes

I am currently working on ARM templates and have successfully deployed an app as an Azure web app. I have also successfully installed the bower components using the console feature of Azure web apps. You can find a reference for the same here.

Now, I want to automate all this stuff using ARM templates but don't know how to install the bower components using ARM.

Any help is appreciated. Thanks in advance!

2

2 Answers

0
votes

You are doing this at the wrong place. The packages should be installed in the build, and then the artifacts contain the packages you are deploying in the release. ARM is for deploying/configuring you infrastructure, the js packages are part of you application.

0
votes

Follow this link Using Bower in Node.js Azure WebApps on how to install bower in your web app. It's not done during ARM orchestration of the appservice infrastructure, but rather during a deployment or a build.