KTVManager_UI/run.sh
Karl e46a8862ad
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 4m5s
not sure why i have to do this?
2025-07-14 14:31:05 +01:00

12 lines
297 B
Bash

#!/bin/bash
# Default to development environment
FLASK_ENV=${FLASK_ENV:-development}
if [ "$FLASK_ENV" = "production" ]; then
echo "Starting in production mode..."
python3 -m gunicorn --config gunicorn.conf.py app:app
else
echo "Starting in development mode..."
python3 app.py
fi