9 lines
168 B
Bash
9 lines
168 B
Bash
|
#!/bin/sh
|
||
|
set -e
|
||
|
|
||
|
CONFIG_PATH=/data/options.json
|
||
|
PRINTER_HOST=$(jq --raw-output ".printer_host" $CONFIG_PATH)
|
||
|
|
||
|
cd /app
|
||
|
gunicorn app:app --bind 0.0.0.0:6000 --workers=2
|