Add required voila configuratios
This commit is contained in:
parent
3a7ac625c5
commit
c11baf859a
|
@ -1,12 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Nofail the cd just in case the image isn't up yet
|
||||
cd $VOILA_DIRECTORY || true
|
||||
cd $VOILA_DIRECTORY || true
|
||||
|
||||
if [-e "$REQUIREMENTS_PATH" ]; then
|
||||
if [-eq "$REQUIREMENTS_PATH" ]; then
|
||||
pip install -r "$REQUIREMENTS_PATH"
|
||||
else
|
||||
pip install voila==$VOILA_VERSION
|
||||
fi
|
||||
|
||||
python -mvoila --no-browser --port=80 $VOILA_OPTIONS
|
||||
python -mvoila --no-browser --port=80 --Voila.ip=0.0.0.0 --autoreload=True $VOILA_OPTIONS
|
||||
|
|
Loading…
Reference in New Issue