fix: add pgdata volume for persistence + fix seed path
This commit is contained in:
@@ -15,7 +15,7 @@ except Exception as e:
|
||||
done
|
||||
|
||||
echo "Running seed..."
|
||||
python seed.py || echo "Seed already ran or error (continuing)"
|
||||
cd /app && python seed.py 2>&1 && echo "Seed complete" || echo "Seed failed or already ran (continuing)"
|
||||
|
||||
echo "Starting server..."
|
||||
exec uvicorn app.main:app --host 0.0.0.0 --port 8000
|
||||
|
||||
Reference in New Issue
Block a user