Skip to content

Commit f10c41f

Browse files
committed
Use down and up instead of stop and run to restart services
1 parent 299bc3c commit f10c41f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deploy.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
export image_hash=$1
33
export 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 compose stop \
5+
&& docker compose down \
66
&& docker compose build \
7-
&& docker compose run api
7+
&& docker compose up

0 commit comments

Comments
 (0)