In this section, we will go through the process of building the application on Container and pushing the Docker image to the AWS Elastic Container Registry
Based on the resources prepared in the article Deploying the application on the Container
We have created a Repository from AWS Elastic Container Registry
aws ecr get-login-password --region ap-southeast-1 | docker login --username AWS --password-stdin 999999999999.dkr.ecr.ap-southeast-1.amazonaws.com
docker build -t aws-fcj-management .
docker tag aws-fcj-management:latest 999999999999.dkr.ecr.ap-southeast-1.amazonaws.com/aws-fcj-management:latest
docker push 999999999999.dkr.ecr.ap-southeast-1.amazonaws.com/aws-fcj-management:latest