forked from phoenix/litellm-mirror
(fix) proxy server docker file
This commit is contained in:
parent
330a89bdb1
commit
6798cebbb9
2 changed files with 15 additions and 0 deletions
10
openai-proxy/Dockerfile
Normal file
10
openai-proxy/Dockerfile
Normal file
|
@ -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
|
5
openai-proxy/requirements.txt
Normal file
5
openai-proxy/requirements.txt
Normal file
|
@ -0,0 +1,5 @@
|
|||
openai
|
||||
fastapi
|
||||
uvicorn
|
||||
boto3
|
||||
litellm
|
Loading…
Add table
Add a link
Reference in a new issue