Skip to content

Commit fe52a60

Browse files
authored
Merge pull request #1 from ghanta1996/master
Run shell as default if no arguments are given upon docker run
2 parents 6ab6912 + 11c2359 commit fe52a60

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

entrypoint.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
#!/bin/bash
22
source /venv/bin/activate
3-
exec "$@"
3+
if [ $# -eq 0 ]; then
4+
exec bash
5+
else
6+
exec "$@"
7+
fi

0 commit comments

Comments
 (0)