From 0d24bcaf571a1b55358413a806225fcc30dab7b6 Mon Sep 17 00:00:00 2001 From: coconut49 Date: Tue, 17 Oct 2023 22:59:17 +0800 Subject: [PATCH] Expose port 8000 in Dockerfile and add deployment instructions. --- Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 24b4c48cd..de70fd847 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,5 +5,8 @@ COPY . /app RUN pip install -r requirements.txt WORKDIR /app/litellm/proxy - -ENTRYPOINT [ "/bin/bash", "/app/litellm/proxy/start.sh" ] \ No newline at end of file +EXPOSE 8000 +ENTRYPOINT [ "/bin/bash", "/app/litellm/proxy/start.sh" ] +# 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:/app/secrets_template.toml` \ No newline at end of file