Linux Azure App Service ARM Template with ZipDeploy Fails Due To Container Restart
Pete
0
Reputation points
I have an ARM template to deploy an Azure App Service on Linux/Node 20. I am using ZipDeploy configured within the ARM template to deploy the application code as shown below.
The deployment successfully triggers, however, the container restarts while the deployment is occurring. The container logs do not supply any reason for the restart. What am I missing to get the deploy to be able to complete successfully?
2024-11-19T14:28:35.1779343Z Container start method finished after 5194 ms.
2024-11-19T14:29:03.3959268Z Container is terminating. Grace period: 0 seconds.
"type": "Microsoft.Web/sites/extensions",
"apiVersion": "2024-04-01",
"name": "[concat(parameters('webAppName'), '/ZipDeploy')]",
"properties": {
"packageUri": "https://validurl/to/zipfile.zip",
"appOffline": true
},
"dependsOn": [
"[resourceId('Microsoft.Web/sites', parameters('webAppName'))]"
]
}
Sign in to answer