Tutorial to create AWS ECR repository, create docker image with custom nginx site and push to mentioned ECR repository
aws cloudformation deploy \
--template aws/cloudFormation/ecr.yaml \
--stack-name nginx-www
docker build -t nginx-www aws/dockerFile
aws ecr get-login-password --region region | docker login --username AWS --password-stdin aws_account_id.dkr.ecr.region.amazonaws.com
docker tag nginx-www:latest aws_account_id.dkr.ecr.region.amazonaws.com/softserve-nginx
docker push aws_account_id.dkr.ecr.region.amazonaws.com/softserve-nginx
docker run -it --rm -d -p 8080:80 --name web aws_account_id.dkr.ecr.region.amazonaws.com/softserve-nginx