Task 1: Deploy this app locally on your system and record the output. Make sure the app runs on port http://localhost:4200
Task 2: Containerize this app using Docker by writing a multi-stage docker file. Make sure to run this on system port 20021.
Task 3: Deploy this application to K8S with 2 replicas. Expose this using service type NodePort.
How to run this app locally?
This repository holds the code for a simple Angular Store App, made using this tutorial: https://angular.io/start.
To run the app locally, you need the following installed:
- node ~10.16.0 or above
To install all other dependencies just run:
npm install
Afterwards, just run the below to run the app locally:
ng serve -o