File size: 379 Bytes
65d8bc2 0066544 b274f42 9f46f1d 65d8bc2 63134fe 65d8bc2 0066544 65d8bc2 0066544 f6717c6 0066544 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
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-hf.git /app
WORKDIR /app
RUN pip install -r requirements.txt
CMD [ "litellm", "--config", "config.yaml", "--host", "0.0.0.0", "--port", "7860" ]
|