Always install requirements.txt
This commit is contained in:
parent
1d6ceca50c
commit
99be3f74c0
1 changed files with 4 additions and 3 deletions
|
@ -14,10 +14,11 @@ cat <<EOF
|
|||
|
||||
EOF
|
||||
|
||||
if [[ -z "$@" ]]; then
|
||||
if [ -e "requirements.txt" ]; then
|
||||
if [ -e "requirements.txt" ]; then
|
||||
exec pip install -r requirements.txt
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ -z "$@" ]]; then
|
||||
exec bash
|
||||
else
|
||||
exec $@
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue