server: fix dockerfile with migrations

This commit is contained in:
2023-08-29 15:07:04 +02:00
parent 3694b9704f
commit d379dc2376
2 changed files with 4 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/bash
if [ -f "venv/bin/activate" ]; then
source venv/bin/activate
if [ -f "/venv/bin/activate" ]; then
source /venv/bin/activate
fi
alembic upgrade head
python -m reflector.app