| FROM ghcr.io/berriai/litellm:v1.81.12-stable | |
| RUN pip install --no-cache-dir "mlflow==3.6.0" | |
| COPY ./config.yaml /app/config.yaml | |
| COPY ./dind.sh /app/dind.sh | |
| # Wolfi unsupported, so we can't run the dind.sh | |
| # script to install Docker in Docker. | |
| # If you need Docker in Docker, | |
| # consider using a different base image that supports it. | |
| # RUN /bin/bash -c "/app/dind.sh" | |
| EXPOSE 7860 | |
| ENTRYPOINT ["litellm"] | |
| CMD [ "--config", "/app/config.yaml", "--port", "7860", "--num_workers", "1" ] | |