Skip to content

Commit

Permalink
Dockerfile update
Browse files Browse the repository at this point in the history
  • Loading branch information
chidanandpujar committed Nov 27, 2024
1 parent 5d5d8a4 commit baadb7c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@ function pip_install {
}

function run_scripts {
echo "Executing defined script"
python3 $1 ${@:2}
if [ "$1" = "python3" ] || [ "$1" = "python" ]; then python3
else
echo "Executing defined script"
$1 ${@:2}
fi
}

## Manually defined variables will take precedence
Expand Down

0 comments on commit baadb7c

Please sign in to comment.