From 346f90c676b10198c517c7fdeb23dce6405624b7 Mon Sep 17 00:00:00 2001 From: PColuccio <107262185+PColuccio@users.noreply.github.com> Date: Wed, 19 Feb 2025 12:57:42 -0500 Subject: [PATCH] Remove containers when finished --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 5ffe8fd..31223bc 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -75,7 +75,7 @@ done # Run the Docker container from the specified image if [ "$valid_command" = true ]; then docker pull bitoai/cra:latest >&2 - exec docker run bitoai/cra:latest --mode=cli --pr_url $INPUT_PR --command "$INPUT_COMMAND" rest $docker_cmd_args + exec docker run --rm bitoai/cra:latest --mode=cli --pr_url $INPUT_PR --command "$INPUT_COMMAND" rest $docker_cmd_args else echo "$INPUT_COMMAND is not supported" exit 0 # Exit the script with a non-zero status code