From b6dd6e5835999f327fc91aa20de462ce4088a0a2 Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Sat, 2 Dec 2023 18:32:37 -0800 Subject: [PATCH] (feat) proxy update dockerfile --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 23a041ec4..fa1147c39 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,4 +22,9 @@ RUN pip install --no-cache-dir --find-links=wheels -r requirements.txt EXPOSE 4000/tcp # Start the litellm proxy, using the `litellm` cli command https://docs.litellm.ai/docs/simple_proxy -CMD ["litellm", "--port", "4000"] + +# Start the litellm proxy with default options +CMD ["--port", "4000"] + +# Allow users to override the CMD when running the container, allows users to pass litellm args +ENTRYPOINT ["litellm"]