Skip to content

Commit

Permalink
ci(codedeploy): ensure containers are torn down before try to start t…
Browse files Browse the repository at this point in the history
…hem again
  • Loading branch information
djwhitt committed Dec 13, 2023
1 parent 93c2386 commit bc24b08
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/codedeploy/app-start
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,9 @@

cd /opt/ar-io-node

if [ "$(docker ps -q)" ]; then
docker-compose down
fi

# TODO use a pre-built image
docker-compose up -d

0 comments on commit bc24b08

Please sign in to comment.