release 1.2
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
set -e # Выход при ошибке
|
||||
|
||||
cd /app/src
|
||||
|
||||
echo "Running database initialization..."
|
||||
uv run init_db.py
|
||||
|
||||
echo "Starting Gunicorn..."
|
||||
exec /app/.venv/bin/gunicorn \
|
||||
-w 1 \
|
||||
-k uvicorn.workers.UvicornWorker \
|
||||
"init:app" \
|
||||
-b "0.0.0.0:80" \
|
||||
--log-config="/app/src/config/logger.ini"
|
||||
Reference in New Issue
Block a user