projectkudu / kudu

Kudu is the engine behind git/hg deployments, WebJobs, and various other features in Azure Web Sites. It can also run outside of Azure.
Apache License 2.0
3.12k stars 652 forks source link

Not able to deploy a repo subfolder to Azure app services #3415

Closed mproschowsky closed 6 months ago

mproschowsky commented 2 years ago

Context:

According to documentation this can be done by the PROJECT configuration: https://github.com/projectkudu/kudu/wiki/Customizing-deployments#deploying-a-specific-folder-for-a-node-php-or-aspnet-site

On the list of ORYX configurations, PROJECT is listed as a only working for .NET: https://github.com/microsoft/Oryx/blob/main/doc/configuration.md

Repro steps

Add application setting in Azure: PROJECT = server Commit changes to repo to trigger Kudu

The log/error given by the failure.

Detecting platforms... Error: Could not find the .NET Core project file.

Is this a documentation error, or is the PROJECT command expected to work as described?

flavian-anselmo commented 1 year ago

having the same problem with my fastapi application

MrSharpp commented 7 months ago

my guess is that "PROJECT" key is only for dotnet project

jvano commented 6 months ago

Hi

If the problem persists and is related to running it on Azure App Service, please open a support incident in Azure: https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request

This way we can better track and assist you on this case

Thanks,

Joaquin Vano Azure App Service