2023-01-05 00:07:49 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2023-01-05 04:44:41 +00:00
|
|
|
# Nofail the cd just in case the image isn't up yet
|
|
|
|
cd $VOILA_DIRECTORY || true
|
2023-01-05 00:07:49 +00:00
|
|
|
|
|
|
|
if [-e "$REQUIREMENTS_PATH" ]; then
|
|
|
|
pip install -r "$REQUIREMENTS_PATH"
|
|
|
|
else
|
|
|
|
pip install voila==$VOILA_VERSION
|
|
|
|
fi
|
|
|
|
|
|
|
|
python -mvoila --no-browser --port=80 $VOILA_OPTIONS
|