Skip to content

Commit baadb7c

Browse files
Dockerfile update
1 parent 5d5d8a4 commit baadb7c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

entrypoint.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,11 @@ function pip_install {
1818
}
1919

2020
function run_scripts {
21-
echo "Executing defined script"
22-
python3 $1 ${@:2}
21+
if [ "$1" = "python3" ] || [ "$1" = "python" ]; then python3
22+
else
23+
echo "Executing defined script"
24+
$1 ${@:2}
25+
fi
2326
}
2427

2528
## Manually defined variables will take precedence

0 commit comments

Comments
 (0)