Hi @Kevin GUIMARD
python: can't open file 'main.py'
By default files/folders will be deployed to site/wwwroot
directory.
python main.py
, expects the main.py
to be in the site/wwwroot
folder.
Make sure the files are in the application root directory using the new ui - https://AppName.scm.azurewebsites.net/newui/fileManager
.
You can open the KUDU console using this URL (https://AppName.scm.azurewebsites.net/)
.
I'm wondering why Azure runs a container after trying to execute the command
Azure App service deployed in Linux by default runs inside the containers. You can check the Log Stream in the KUDU Console.
Update
@Kevin GUIMARD I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this!
Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to "Accept " the answer.
Solution :
Unchecking "Deployment slot setting" in environment variable solved the issue , allowing Oryx to handle the installation of dependencies automatically.
Please remember to "Accept Answer" if the sol has helped, so that others in the community facing similar issues can easily find the solution.