Skip to content

Commit

Permalink
run script improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
angelk committed Dec 1, 2023
1 parent 1c7e660 commit 7a60bfa
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ docker-compose -p track build
if [[ "$1" == "-p" ]]; then
docker-compose -p track -f docker-compose.yml -f docker-compose-prod.yml build
docker-compose -p track -f docker-compose.yml -f docker-compose-prod.yml up
else
exit
fi

if [ $# -eq 0 ]
then
docker-compose -p track up
else
docker-compose -p track "$@"
fi

0 comments on commit 7a60bfa

Please sign in to comment.