Skip to content

NextJS 14 project deployed to Linux Azure App Service using Docker

Notifications You must be signed in to change notification settings

RobertLynJA/NextJSAppService

Repository files navigation

Next.js 14 Project with CI/CD deploying to Azure App Service (POC)

This is a Next.js project bootstrapped with create-next-app.

Using Dockerfile from NextJS to run on Azure App Service (Linux).

How to deploy

  • Edit .github/workflows/main.yml and set the web app name to your App Service name
    • AZURE_WEBAPP_NAME: 'Your app name here'
  • Download your App service publish profile and add it to your repository secrets under the name AZURE_WEBAPP_PUBLISH_PROFILE
  • Add App Service environment variable WEBSITES_PORT with value 3000