This repository contains a simple node js application that returns portfolio html page after application started.
- โ๏ธ Clone or fork the application.
git clone https://github.com/rusiruavb/aks-demo.git
- โ๏ธ Open the application in VS Code or any other code editor
code .
- โ๏ธ Run
npm install
to install necessary dependencies. - โ๏ธ Run
npm run start
to run the application. The application will run onhttp://localhost:8045
port.
- โ๏ธ Run
docker image build -t portfolio-app:v1
. (This will create Docker image. ๐ฆ) - โ๏ธ Run
docker run -d -p 3000:8045 portfolio-app:v1
๐ - โ๏ธ Open your browser and type
http://localhost:3000
and enter.
All other commands to create Azure Container Registry(ACR) and Azure Kubernetes Service(AKS) are in the commands.sh
file.