Port fixup

This commit is contained in:
JustFiesta 2024-05-17 15:58:20 +02:00
parent 4fa1b394cb
commit c0d1ac1fed

View file

@ -56,7 +56,7 @@ echo "---------------------------------------"
echo "Running spring-petclinic container..." echo "Running spring-petclinic container..."
# Run the Docker image # Run the Docker image
docker run -d --name spring-pertlinic \ 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 # Check if the docker run command was successful
if [ \$? -eq 0 ]; then if [ \$? -eq 0 ]; then