From c0d1ac1fed15ac652eb1187c03f0746b201f7f57 Mon Sep 17 00:00:00 2001 From: JustFiesta Date: Fri, 17 May 2024 15:58:20 +0200 Subject: [PATCH] Port fixup --- run_container_on_EC2.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_container_on_EC2.sh b/run_container_on_EC2.sh index 3184ea0db..376a4f848 100644 --- a/run_container_on_EC2.sh +++ b/run_container_on_EC2.sh @@ -56,7 +56,7 @@ echo "---------------------------------------" echo "Running spring-petclinic container..." # Run the Docker image docker run -d --name spring-pertlinic \ - -p 80:8080 "$AWS_ACCOUNT_ID".dkr.ecr."$REGION".amazonaws.com/"$IMAGE_NAME" + -p 8080:8080 "$AWS_ACCOUNT_ID".dkr.ecr."$REGION".amazonaws.com/"$IMAGE_NAME" # Check if the docker run command was successful if [ \$? -eq 0 ]; then