Azure / Azure/azure-quickstart-templates
Azure Functions deployment (with code) with "WEBSITE_RUN_FROM_PACKAGE" set to "1"
- Dominant language
- Bicep
- Stars
- 14.9k
- Forks
- 16.2k
- Avg merge
- 6d 21h
- Merged PRs (30d)
- 6
Description
### Issue Details
I would like to request a template on how to deploy an Azure Functions app with `WEBSITE_RUN_FROM_PACKAGE` set to `1`, which includes the code to be deployed.
I know that you can use an `MSDeploy` extension within a template to deploy the code as a ZIP artifact to Azure, but this will try to write to `wwwroot`, instead of running from a ZIP.
In general, I'm looking for the easiest way to deploy to Azure from Visual Studio (to test things like the integration between EventGrid and Azure functions) as currently, I'm having to deploy through Azure Devops pipelines (which is slow and feels weird).
_If I'm asking this in the wrong repo, please point me to the correct one, as I can't figure out where to ask this question._
Contributor guide
No contributing guide indexed for this repository
Research direction
No file or test is named. Start by locating the Azure Functions deployment templates and reviewing how the MSDeploy extension handles ZIP artifacts and wwwroot; compare that with the requested WEBSITE_RUN_FROM_PACKAGE=1 behavior. Done means a documented template can deploy the application code from Visual Studio as a ZIP package while preserving that setting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- cloud
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100