Shaankar39 commited on
Commit
f30935d
·
verified ·
1 Parent(s): 535c840

Remove hardcoded proxy secret from image; use masked HF Space secret

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -8,7 +8,10 @@ RUN pip install --no-cache-dir -r requirements.txt
8
 
9
  COPY app/ app/
10
 
11
- ENV RAPIDAPI_PROXY_SECRET=d814dd20-5b85-11f1-94b1-2f7d6f807838
 
 
 
12
  ENV DATABASE_URL=sqlite:///./revai.db
13
  ENV SECRET_KEY=revai-production-hf-secret-key-2026
14
 
 
8
 
9
  COPY app/ app/
10
 
11
+ # RAPIDAPI_PROXY_SECRET is NOT baked into the image — set it as a masked
12
+ # HF Space secret (Settings → Variables and secrets) using the exact value
13
+ # the RapidAPI gateway injects. While unset, proxy-secret validation stays
14
+ # dormant so live clients are never blocked.
15
  ENV DATABASE_URL=sqlite:///./revai.db
16
  ENV SECRET_KEY=revai-production-hf-secret-key-2026
17