Files
notification/services/auth/resources/scripts/entrypoint-server.sh
A'zamov Samandar dd0da49eb9 auth service created
2025-04-19 14:58:55 +05:00

12 lines
185 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))
exit $?