Skip to content

Commit

Permalink
Explicitly remove existing API containers
Browse files Browse the repository at this point in the history
  • Loading branch information
arkid15r committed Oct 16, 2023
1 parent 2da4ec9 commit b3adda4
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,11 @@ chmod a+rwx /tmp/volumes_static
# Pull the API image.
docker pull "${dockerhub_repo}/${api_docker_image}"

# shellcheck disable=SC2046
docker rm -f $(docker ps --quiet --all) || true

# These database values are created after TF
# is run, so we have to pass them in programatically
# is run, so we have to pass them in programatically.
docker run \
--detach \
--env DATABASE_HOST="${database_host}" \
Expand Down

0 comments on commit b3adda4

Please sign in to comment.