From bb91a8671ddf1e65c909195ca759837592209157 Mon Sep 17 00:00:00 2001 From: coconut49 Date: Wed, 18 Oct 2023 01:22:33 +0800 Subject: [PATCH] Change Dockerfile to rename secrets_template.toml to litellm.secrets.toml. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f32db7243..be162d451 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM python:3.10 COPY . /app WORKDIR /app -RUN mkdir -p /root/.config/litellm/ && cp /app/secrets_template.toml /root/.config/litellm/secrets_template.toml +RUN mkdir -p /root/.config/litellm/ && cp /app/secrets_template.toml /root/.config/litellm/litellm.secrets.toml RUN pip install -r requirements.txt WORKDIR /app/litellm/proxy @@ -10,4 +10,4 @@ EXPOSE 8000 ENTRYPOINT [ "python3", "proxy_cli.py" ] # TODO - Set up a GitHub Action to automatically create the Docker image, # and then we can quickly deploy the litellm proxy in the following way -# `docker run -p 8000:8000 ghcr.io/BerriAI/litellm:v0.8.4 -v ./secrets_template.toml:/root/.config/litellm/secrets_template.toml` \ No newline at end of file +# `docker run -p 8000:8000 -v ./secrets_template.toml:/root/.config/litellm/litellm.secrets.toml ghcr.io/BerriAI/litellm:v0.8.4` \ No newline at end of file