Posts

Showing posts from April, 2025

Deploy a Next.js Application on Azure Web App ( Part 1)

Image
Today, we are going to deploy a very simple web application build using Next.JS framework on Microsoft Azure Web App. This blog is split into two parts - Part 1: covers local web app development and deployment to azure web app using local machine. Part 2: covers deployment using Gitlab CI Prerequisites Before starting, ensure you have the following prerequisites: Azure Account Subscription : If you don't have one, you can sign up for a free account here . Node.js and NPM : Make sure Node.js and NPM are installed on your local machine. Download them here . Git and Azure CLI : Install Git and the Azure CLI. Git can be found here and Azure CLI here . Docker : You’ll need Docker for building and running your Next.js app in a container. Get it here . (It is optional, we can build image directly on azure also) Table of Contents Setup Boilerplate Repo Build Docker Image (optional) Create an Azure Web App Deploy Web App using Azure CLI Step 1: Setup Repository To get started, yo...