Fayzbek commited on
Commit
6ff2fc9
·
verified ·
1 Parent(s): 0c888b3

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -3
Dockerfile CHANGED
@@ -20,7 +20,10 @@ RUN pip install --no-cache-dir uvicorn fastapi ollama supabase
20
  # 6. Portni ochish (Hugging Face uchun 7860)
21
  EXPOSE 7860
22
 
23
- # 7. Ollama serverini fonda ishga tushirish va FastAPI ilovasini yoqish
24
- # Eslatma: ollama serve & (fon rejimi), sleep (server yuklanishini kutish),
25
- # uvicorn (FastAPI ilovasini ishga tushirish)
 
 
 
26
  CMD ["sh", "-c", "ollama serve & sleep 15 && uvicorn main:app --host 0.0.0.0 --port 7860"]
 
20
  # 6. Portni ochish (Hugging Face uchun 7860)
21
  EXPOSE 7860
22
 
23
+ # ... (oldingi qatorlar o'zgarishsiz) ...
24
+
25
+ # 7. Portni ochish
26
+ EXPOSE 7860
27
+
28
+ # 8. Ollama va FastAPI ni ishga tushirish
29
  CMD ["sh", "-c", "ollama serve & sleep 15 && uvicorn main:app --host 0.0.0.0 --port 7860"]