Beam091 commited on
Commit
457c03e
·
verified ·
1 Parent(s): 6dd6b2e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -10,7 +10,10 @@ ENV ENABLE_OPENAI_API=true
10
 
11
  ENV DISABLE_EMBEDDINGS=true
12
 
13
- ENV DATABASE_URL=$DATABASE_URL
 
 
 
14
  # ---------------------------------------------------------
15
  # 3️⃣ (Optional) Expose a different host port – HF will map
16
  # the container’s 8080 → the Space’s public URL automatically.
 
10
 
11
  ENV DISABLE_EMBEDDINGS=true
12
 
13
+ # ใส่ไว้ใต้บรรทัด ENV DISABLE_EMBEDDINGS=true
14
+ ENV DATA_DIR=/data
15
+ ENV DATABASE_URL="sqlite:////data/webui.db"
16
+
17
  # ---------------------------------------------------------
18
  # 3️⃣ (Optional) Expose a different host port – HF will map
19
  # the container’s 8080 → the Space’s public URL automatically.