ci: update dockerfile to include data folder
This commit is contained in:
+9
-1
@@ -128,8 +128,16 @@ function measure {
|
||||
echo "Setup..."
|
||||
|
||||
docker-compose up -d
|
||||
# Ensure migrations are done
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Failed to start Docker containers."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
docker-compose exec -T app migrate
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Failed to run database migrations."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Create a new user and capture the API key
|
||||
output=$(docker-compose exec -T app cli --create-user=Admin)
|
||||
|
||||
Reference in New Issue
Block a user