Add required voila configuratios
This commit is contained in:
parent
3a7ac625c5
commit
c11baf859a
|
@ -1,12 +1,11 @@
|
||||||
#!/bin/sh
|
#!/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"
|
pip install -r "$REQUIREMENTS_PATH"
|
||||||
else
|
else
|
||||||
pip install voila==$VOILA_VERSION
|
pip install voila==$VOILA_VERSION
|
||||||
fi
|
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