Update start.sh

This commit is contained in:
Paolo Asperti 2021-06-30 22:32:11 +02:00
parent 163ac4bdf4
commit e07a69bbf8
1 changed files with 3 additions and 0 deletions

View File

@ -4,5 +4,8 @@ set -e
CONFIG_PATH=/data/options.json
PRINTER_HOST=$(jq --raw-output ".printer_host" $CONFIG_PATH)
echo "PRINTER_HOST: $PRINTER_HOST"
cd /app
export PRINTER_HOST
gunicorn app:app --bind 0.0.0.0:6000 --workers=2