Clone repository and build
git clone git@bitbucket.org:tenantcloud/www.tenantcloud.com.git -b master www-tenantcloud-com_master --depth 1
Build
docker build -t 963713796187.dkr.ecr.us-west-2.amazonaws.com/tenantcloud/www:latest .
Login to ECR
$(aws ecr get-login --no-include-email)
Push
docker push 963713796187.dkr.ecr.us-west-2.amazonaws.com/tenantcloud/www:latest
Update to latest image
aws ecs update-service --cluster www-cluster --service www-service --force-new-deployment