Deploy strapi to azure app service environment

System Information
  • Strapi Version: 3.5.1
  • Operating System: windows
  • Database: sqlite or consmosDB
  • Node Version: 12.18.3
  • NPM Version: 6.14.7
  • Yarn Version: 1.22.4

I Build the project from my local machine and deployed the code to Azure ASE, not able to launch the starpi page.
Can someone please provide me step by step instructions?

I’m using azure DevOps
Build the code in VS code and deploy to azure using Zip Publish deploy.

Any help is greatly appreciated.

Hey @newdeveloper :wave:,

There is a detailed guide on how to deploy your Strapi app on Azure, this guide uses a Azure Virtual Machine. Maybe this could help.

@MattieBelt Thank for for responding, but it didn’t work for me.

Hey @newdeveloper, what (steps) did you try and did you get any errors somewhere?

I’m using azure ASE, copied the files from the build and i followed the instructions from

blank page is showing up for me

Here is the error i’m getting when i’m trying to launch my strapi site.
Unexpected Token ‘<’ in both runtime~main and main js files

I am using a similar constellation atm. Instead of building a node package i am building a Docker Image and upload this image to a registry.

I tried different App Service Plans, unfortunately strapi won´t work with the free F1, you have to use at least the B1 plan.

Gist link

As you can see, i have 2 stages there. One is for the docker image and the other stage is for building and packaging a node solution, which is not tested by me :slight_smile: .

I am using treescale as container registry. there is a free plan with 1 gb for your images. But you can use any container registry you want. The easiest would be to use the Azure Container Registy Service.

Thank you @Aytac_Kirmizi.
I will try