Skip to content

Commit c8aa138

Browse files
authored
Update configure-language-python.md - calling out content directory changes with Oryx
This PR Is to call out that with Python apps specifically, when Oryx is used, content is deployed to/served from /tmp/<uid>. This is different than the typical /home/site/wwwroot notion. This is to address possible confusion people may have when they see tmp is used, and not wwwroot.
1 parent 1ee02a1 commit c8aa138

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

articles/app-service/configure-language-python.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ You can run an unsupported version of Python by building your own container imag
6868
<a name="access-environment-variables"></a>
6969
7070
## Customize build automation
71+
> [!NOTE]
72+
> When Python applications are deployed with build automation, content will be deployed to and served from `/tmp/<uid>`, not under `/home/site/wwwroot`. This content directory can be access through the `APP_PATH` environment variable. Any additional files created at runtime should be written to a location under `/home` or using [Bring Your Own Storage](https://learn.microsoft.com/azure/app-service/configure-connect-to-azure-storage?tabs=basic%2Cportal&pivots=container-linux) for persistence. More information on this behavior can be found [here](https://github.com/Azure-App-Service/KuduLite/wiki/Python-Build-Changes).
7173
7274
App Service's build system, called Oryx, performs the following steps when you deploy your app, if the app setting `SCM_DO_BUILD_DURING_DEPLOYMENT` is set to `1`:
7375

0 commit comments

Comments
 (0)