Updated relative path

This commit is contained in:
Santhosh S 2023-10-17 22:18:56 -04:00
parent aae073d456
commit 40ab868e82

View File

@ -5,7 +5,7 @@ current_directory="$(pwd)"
echo "Current directory: $current_directory" echo "Current directory: $current_directory"
# Navigate one folder up # Navigate one folder up
cd .. #cd ..
# Get and display the new working directory # Get and display the new working directory
current_directory="$(pwd)" current_directory="$(pwd)"
@ -16,7 +16,7 @@ relative_path="DamageAssesmentApi"
# Combine the current directory with the relative path to get the full path to docker-compose.yml # Combine the current directory with the relative path to get the full path to docker-compose.yml
#composeFile="$current_directory/DamageAssesmentApi/docker-compose.yml" #composeFile="$current_directory/DamageAssesmentApi/docker-compose.yml"
composeFile="./DamageAssesmentApi/docker-compose.yml" composeFile="../DamageAssesmentApi/docker-compose.yml"
# List of services to build, tag, and push # List of services to build, tag, and push
services=( services=(
@ -51,4 +51,4 @@ echo "Current directory: $current_directory"
# Wait for a keypress # Wait for a keypress
#echo "Press any key to continue..." #echo "Press any key to continue..."
#read -n 1 -s -r -p "" read -n 1 -s -r -p ""