From 6798cebbb9ce3c07538c066cb40de25ba5fe2039 Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Sat, 21 Oct 2023 16:24:34 -0700 Subject: [PATCH] (fix) proxy server docker file --- openai-proxy/Dockerfile | 10 ++++++++++ openai-proxy/requirements.txt | 5 +++++ 2 files changed, 15 insertions(+) create mode 100644 openai-proxy/Dockerfile create mode 100644 openai-proxy/requirements.txt diff --git a/openai-proxy/Dockerfile b/openai-proxy/Dockerfile new file mode 100644 index 00000000000..70d12a2534a --- /dev/null +++ b/openai-proxy/Dockerfile @@ -0,0 +1,10 @@ +FROM python:3.10 + +ENV LITELLM_CONFIG_PATH="/litellm.secrets.toml" +COPY . /app +WORKDIR /app +RUN pip install -r requirements.txt + +EXPOSE $PORT + +CMD exec uvicorn main:app --host 0.0.0.0 --port $PORT \ No newline at end of file diff --git a/openai-proxy/requirements.txt b/openai-proxy/requirements.txt new file mode 100644 index 00000000000..b7d6e99bff6 --- /dev/null +++ b/openai-proxy/requirements.txt @@ -0,0 +1,5 @@ +openai +fastapi +uvicorn +boto3 +litellm \ No newline at end of file