This is a basic example of using a Axum app with Azure app services.
cargo run
az group create --name "webapp" --location southcentralus
az deployment group create --resource-group "webapp" --template-file .\deployment.bicep --parameters webAppName=testapp
az acr login --name <insert name of ACR resource here>
docker build -t <ACR>.azurecr.io/testapp:latest .
docker push <ACR>.azurecr.io/testapp:latest
$RESOURCE_GROUP = "rustwebapp"
$DCR = "rustwebappdcr"
$APPSERVICE = "rustappservice"
$APP = "rustapp"
az group create --name $RESOURCE_GROUP --location southcentralus
az acr create -n $DCR -g $RESOURCE_GROUP --sku Standard --admin-enabled true
az acr login --name $DCR
docker build -t $DCR.azurecr.io/rustapp:latest .
docker push $DCR.azurecr.io/rustapp:latest
az appservice plan create -g $RESOURCE_GROUP -n $APPSERVICE --sku B1 --is-linux
az webapp create -g $RESOURCE_GROUP -p $APPSERVICE -n $APP -i $DCR.azurecr.io/rustapp:latest
az webapp config appsettings set -g $RESOURCE_GROUP -n $APP --settings WEBSITES_PORT=8000