You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
276 B
11 lines
276 B
2 years ago
|
#!/bin/sh -e
|
||
|
host="$1"
|
||
|
[ -x ".drone/$host-setup.sh" ] && "./.drone/$host-setup.sh"
|
||
|
|
||
|
if [ "$host" = auth1 ]; then
|
||
|
exec sleep infinity
|
||
|
else
|
||
|
python3 -m pip install -r requirements.txt -r dev-requirements.txt
|
||
|
exec ./.drone/supervise.sh flask run -h 0.0.0.0 -p 9987
|
||
|
fi
|