mirror of
https://github.com/fastapi/full-stack-fastapi-template.git
synced 2026-11-03 12:29:42 +00:00
♻️ Run database setup explicitly before startup (#2426)
## AI Disclaimer Using Codex with gpt-5.6-sol. Reviewed manually.
This commit is contained in:
committed by
GitHub
parent
8893c6807a
commit
9d541082a3
@@ -6,6 +6,7 @@ set -x
|
||||
|
||||
docker compose build
|
||||
docker compose down -v --remove-orphans # Remove possibly previous broken stacks left hanging after an error
|
||||
docker compose run --rm backend bash scripts/prestart.sh
|
||||
docker compose up -d
|
||||
docker compose exec -T backend bash scripts/tests-start.sh "$@"
|
||||
docker compose down -v --remove-orphans
|
||||
|
||||
Reference in New Issue
Block a user