Epoch01 commited on
Commit
de2113e
·
verified ·
1 Parent(s): a14c97e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -3
Dockerfile CHANGED
@@ -1,10 +1,11 @@
 
1
  FROM ghcr.io/khoj-ai/khoj:latest
2
 
3
  # Hugging Face ke liye Port settings
4
  ENV PORT=7860
5
  EXPOSE 7860
6
 
7
- # Tumhara Brahmastra Database
8
  ENV POSTGRES_HOST="aws-1-ap-south-1.pooler.supabase.com"
9
  ENV POSTGRES_PORT="6543"
10
  ENV POSTGRES_USER="postgres.bwpszjfnoufiypgithtt"
@@ -12,5 +13,5 @@ ENV POSTGRES_PASSWORD="TCGDn99plDB31NHm"
12
  ENV POSTGRES_DB="postgres"
13
  ENV DATABASE_URL="postgresql://postgres.bwpszjfnoufiypgithtt:TCGDn99plDB31NHm@aws-1-ap-south-1.pooler.supabase.com:6543/postgres"
14
 
15
- # 🔥 THE FIX: Sahi command jisse official container start hota hai
16
- CMD ["python", "-m", "khoj", "--host", "0.0.0.0", "--port", "7860"]
 
1
+ # Khoj ki 100% ready official image
2
  FROM ghcr.io/khoj-ai/khoj:latest
3
 
4
  # Hugging Face ke liye Port settings
5
  ENV PORT=7860
6
  EXPOSE 7860
7
 
8
+ # 🔥 Tumhara 100% Working Supabase Database (Brahmastra)
9
  ENV POSTGRES_HOST="aws-1-ap-south-1.pooler.supabase.com"
10
  ENV POSTGRES_PORT="6543"
11
  ENV POSTGRES_USER="postgres.bwpszjfnoufiypgithtt"
 
13
  ENV POSTGRES_DB="postgres"
14
  ENV DATABASE_URL="postgresql://postgres.bwpszjfnoufiypgithtt:TCGDn99plDB31NHm@aws-1-ap-south-1.pooler.supabase.com:6543/postgres"
15
 
16
+ # 🚀 THE ULTIMATE FIX: Bypass all login/CSRF errors and run as a pure API engine for Epoch App
17
+ CMD ["python", "-m", "khoj", "--host", "0.0.0.0", "--port", "7860", "--anonymous-mode"]