openforce/entrypoint.sh
Goose d15b3c51ac
Some checks failed
Build, Test, and Deploy / build-and-deploy (push) Failing after 2m17s
ci(deploy): add production settings, Dockerfile, k8s manifests, and Forgejo deployment workflow
2026-09-27 01:16:13 +00:00

10 lines
264 B
Bash
Executable file

#!/bin/sh
set -e
# Run database migrations
echo "Running database migrations..."
python manage.py migrate --noinput
# Start Gunicorn server
echo "Starting Gunicorn server..."
exec gunicorn --bind 0.0.0.0:8000 --workers 3 --timeout 120 openforce.wsgi:application