Skip to content

Commit a371e7b

Browse files
Updated suggestions
Co-authored-by: Glenn Gailey <[email protected]>
1 parent e9a4e82 commit a371e7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +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. More details on how to troubleshoot temporary storage can be found [here](https://learn.microsoft.com/en-us/troubleshoot/azure/app-service/temporary-storage-for-azure-app-service)
56+
+ The deployment uses temporary storage when unpacking your project files. This means that your function app must have enough available temporary storage space to hold the contents of your package. Keep in mind that the temporary storage limit for a Consumption plan is [500 MB per plan](functions-scale.md#service-limits). To learn about how to troubleshoot issues with temporary storage, see [How to troubleshoot temporary storage on Azure App Service](/troubleshoot/azure/app-service/temporary-storage-for-azure-app-service).
5757
+ You can't use the local cache when running from a deployment package.
5858
+ 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).
5959

0 commit comments

Comments
 (0)