File size: 468 Bytes
2dd4629
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f829360
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM ghcr.io/berriai/litellm-database:main-stable

# Çalışma dizini
WORKDIR /app

# Config dosyasını kopyala
COPY config.yaml .

# Port tanımla (Hugging Face Spaces 7860 kullanır)
EXPOSE 7860

# Healthcheck ekle
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
  CMD curl -f http://localhost:7860/health || exit 1

# LiteLLM'i başlat
ENTRYPOINT ["litellm"] 
CMD [ "--config", "/app/config.yaml", "--port", "7860", "--num_workers", "8" ]