[Python] Issue with Python application after deploying using Azure DevOps

Discussão em 'Python' iniciado por Stack, Setembro 24, 2024.

  1. Stack

    Stack Membro Participativo

    Facing an issue deploying a Python application using Azure DevOps pipeline to Azure App Service.

    Tried both Docker image and zip deploy but resulted in the same error.

    App service plan is Linux. Deployment is successful but I get gateway time out in browser "504.0 Gateway Timeout".

    Gateway Error:

    [​IMG]

    The python app runs fine locally and I am able to publish to Azure App Service using VS Code.

    Have updated app settings by adding WEBSITES_PORT key and tried with 8000, 8080 & 5000 port number with no luck.

    Logs from log stream:

    [​IMG]

    Here's the docker File:

    [​IMG]

    Continue reading...

Compartilhe esta Página