Skip to content

Commit e23da25

Browse files
run-from-package update considerations
Adding on the documentation the details about requiring free temporary storage for the deployment as per ICM 304493581
1 parent 11f2e9e commit e23da25

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

articles/azure-functions/run-functions-from-deployment-package.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ The following table indicates the recommended `WEBSITE_RUN_FROM_PACKAGE` values
5353
+ When deploying your function app to Windows, you should set `WEBSITE_RUN_FROM_PACKAGE` to `1` and publish with zip deployment.
5454
+ When you run from a package, the `wwwroot` folder is read-only and you receive an error if you write files to this directory. Files are also read-only in the Azure portal.
5555
+ The maximum size for a deployment package file is 1 GB.
56+
+ The deployment will use temporary storage to unpack the zip hence you need ensure enough free space on the temporary storage for the size of your code package, this is especially relevant for Consumption plan where the limit is 500 Mb. See the storage limits for other tiers [here](https://github.com/projectkudu/kudu/wiki/Understanding-the-Azure-App-Service-file-system#temporary-files)
5657
+ You can't use the local cache when running from a deployment package.
5758
+ If your project needs to use remote build, don't use the `WEBSITE_RUN_FROM_PACKAGE` app setting. Instead, add the `SCM_DO_BUILD_DURING_DEPLOYMENT=true` deployment customization app setting. For Linux, also add the `ENABLE_ORYX_BUILD=true` setting. For more information, see [Remote build](functions-deployment-technologies.md#remote-build).
5859

0 commit comments

Comments
 (0)