Files
MyFSIO/docker-entrypoint.sh
2025-11-22 15:51:43 +08:00

9 lines
291 B
Bash

#!/bin/sh
set -e
# Start API server in background
gunicorn "app:create_api_app()" -c gunicorn_conf.py --bind 0.0.0.0:5000 --workers 4 --access-logfile - &
# Start UI server in foreground
gunicorn "app:create_ui_app()" -c gunicorn_conf.py --bind 0.0.0.0:5100 --workers 4 --access-logfile -