Files
MeridynPharma-Backend/resources/scripts/entrypoint-server.sh
2025-12-10 17:53:23 +05:00

11 lines
216 B
Bash

#!/bin/bash
python3 manage.py collectstatic --noinput
python3 manage.py migrate --noinput
gunicorn config.wsgi:application -b 0.0.0.0:8000 --workers $(($(nproc) * 2 + 1)) &
python3 core/bot/main.py &
wait
exit $?