Skip to content

Commit 20ea3b4

Browse files
committed
Do health check on deploy
1 parent 68b30d1 commit 20ea3b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

deploy.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ image_hash=$1
33
account_id=$(aws sts get-caller-identity --query Account --output text)
44
aws ecr get-login-password | docker login --username AWS --password-stdin ${account_id}.dkr.ecr.us-west-1.amazonaws.com
55
docker run -d --env-file .env -p 8000:8000 --name go-capture ${account_id}.dkr.ecr.us-west-1.amazonaws.com/go-capture:${image_hash}
6+
curl 127.0.0.1:8000/health_check/

0 commit comments

Comments
 (0)