Skip to content

Commit 65dc601

Browse files
committed
Stop running container
1 parent 20ea3b4 commit 65dc601

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

deploy.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,7 @@
22
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
5+
docker stop go-capture
6+
docker rm go-capture
57
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}
68
curl 127.0.0.1:8000/health_check/

0 commit comments

Comments
 (0)