fixed docker db init

This commit is contained in:
hex
2025-01-18 19:02:06 -08:00
parent 66f8d87a44
commit d5ffb88a8d
2 changed files with 11 additions and 1 deletions

7
docker-entrypoint.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
# Initialize the database using init_db.py
python init_db.py
# Start gunicorn
exec gunicorn -c gunicorn.conf.py app:app