-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrender-nuclear.yaml
More file actions
26 lines (26 loc) · 965 Bytes
/
render-nuclear.yaml
File metadata and controls
26 lines (26 loc) · 965 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
services:
- type: web
name: smartprobono-backend-nuclear
env: python
buildCommand: |
echo "💥 NUCLEAR DEPLOYMENT - PyMuPDF ELIMINATION"
echo "============================================="
echo "🧹 Removing ALL PyMuPDF traces..."
pip uninstall -y PyMuPDF pymupdf4llm fitz || true
pip cache purge || true
echo "📦 Installing nuclear requirements (NO PyMuPDF)..."
pip install -r requirements-nuclear.txt
echo "🔍 Verifying PyMuPDF elimination..."
python -c "import sys; sys.exit(0 if 'fitz' not in sys.modules else 1)" || (echo "❌ PyMuPDF detected!" && exit 1)
echo "✅ NUCLEAR DEPLOYMENT SUCCESSFUL!"
startCommand: |
echo "🚀 Starting SmartProBono backend (nuclear mode)..."
cd backend
python app.py
envVars:
- key: FLASK_ENV
value: production
- key: PYTHONUNBUFFERED
value: "1"
- key: NO_PYMUPDF
value: "true"