This commit is contained in:
2026-01-11 09:12:37 -05:00
parent 1a026f76a1
commit 12eb110313
25 changed files with 1345 additions and 83 deletions

View File

@@ -2,13 +2,12 @@
set -e
echo "Initializing directories..."
mkdir -p /app/chromadb
mkdir -p /app/data/chromadb
echo "Waiting for frontend to build..."
while [ ! -f /app/raggr-frontend/dist/index.html ]; do
sleep 1
done
echo "Frontend built successfully!"
echo "Rebuilding frontend..."
cd /app/raggr-frontend
yarn build
cd /app
echo "Setting up database..."
# Give PostgreSQL a moment to be ready (healthcheck in docker-compose handles this)
@@ -22,8 +21,5 @@ else
aerich init-db
fi
echo "Starting reindex process..."
python main.py "" --reindex || echo "Reindex failed, continuing anyway..."
echo "Starting Flask application in debug mode..."
python app.py