litellm / Dockerfile
omrahm's picture
Update Dockerfile
5612410 verified
raw
history blame
No virus
355 Bytes
FROM python
RUN apt-get update && \
apt-get install -y git
RUN --mount=type=secret,id=GITHUB,mode=0444,required=true \
GITHUB=$(cat /run/secrets/GITHUB) && \
git clone https://${GITHUB}@github.com/omrahm/litellm.git /app
WORKDIR /app
RUN pip install -r requirements.txt
CMD [ "litellm", "--config", "config.yaml", "--port", "7860" ]