12 lines
224 B
Bash
12 lines
224 B
Bash
#!/bin/bash
|
|
|
|
CORES=$(nproc)
|
|
WORKERS=$((2 * CORES + 1))
|
|
|
|
cd /app/frontend && yarn dev &
|
|
#cd /app && python manage.py runserver 0.0.0.0:8000 &
|
|
cd /app && hypercorn app.asgi:application -c hypercorn_dev.toml &
|
|
|
|
wait -n
|
|
|
|
exit $? |