litellm / Dockerfile
alpgul's picture
Update Dockerfile
f829360 verified
Raw
History Blame Contribute Delete
468 Bytes
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" ]