[Python] Is it possible to deploy flet app to Azure app service?

Discussão em 'Python' iniciado por Stack, Fevereiro 19, 2025.

  1. Stack

    Stack Membro Participativo

    I'm trying to deploy sample flet app to Azure from vs code getting Azure default page. Is it possible deploy flet app to Azure if it is how? main.py:

    import flet as ft

    def main(page: ft.Page):
    page.title = "Counter App"

    text = ft.Text("0", size=30)

    def increment(e):
    text.value = str(int(text.value) + 1)
    page.update()

    page.add(
    text,
    ft.ElevatedButton("Increment", on_click=increment)
    )

    ft.app(target=main)

    Continue reading...

Compartilhe esta Página