aws ecr get-login-password --region ap-south-1 | docker login --username AWS --password-stdin 816586121361.dkr.ecr.ap-south-1.amazonaws.com

docker build . -f Dockerfile-aadhaar-java-base -t dl-aadhaar-java:base
docker tag dl-aadhaar-java:base 816586121361.dkr.ecr.ap-south-1.amazonaws.com/dl-aadhaar-java:base
docker push 816586121361.dkr.ecr.ap-south-1.amazonaws.com/dl-aadhaar-java:base

docker build . -f Dockerfile-aadhaar-java-prod -t dl-aadhaar-java:prod
docker tag dl-aadhaar-java:prod 816586121361.dkr.ecr.ap-south-1.amazonaws.com/dl-aadhaar-java:prod
docker push 816586121361.dkr.ecr.ap-south-1.amazonaws.com/dl-aadhaar-java:prod

#to create docker base and docker file
docker build . -f Dockerfile-aadhaar-java-base -t dl-aadhaar-java:base 
docker run -d --name Dockerfile-aadhaar-java-base-cont dl-aadhaar-java:base

docker build . -f Dockerfile-aadhaar-java-prod -t dl-aadhaar-java:prod
docker run -d --name Dockerfile-aadhaar-java-prod-cont dl-aadhaar-java:prod