mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 18:24:20 +00:00
build: Adds dockerfile for easily building proxy
This commit is contained in:
parent
ad202a30da
commit
81373f0678
7 changed files with 26 additions and 0 deletions
15
Dockerfile
Normal file
15
Dockerfile
Normal file
|
@ -0,0 +1,15 @@
|
|||
FROM python:3.10
|
||||
|
||||
RUN pip install poetry
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
WORKDIR /app/litellm/proxy
|
||||
|
||||
RUN python proxy_cli.py --config -f /app/secrets_template.toml
|
||||
|
||||
RUN python proxy_cli.py
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
2
litellm/proxy/start.sh
Executable file
2
litellm/proxy/start.sh
Executable file
|
@ -0,0 +1,2 @@
|
|||
python3 proxy_cli.py --config -f ../../secrets_template.toml &
|
||||
python3 proxy_cli.py
|
9
requirements.txt
Normal file
9
requirements.txt
Normal file
|
@ -0,0 +1,9 @@
|
|||
openai
|
||||
python-dotenv
|
||||
tiktoken
|
||||
importlib-metadata
|
||||
tokenizers
|
||||
click
|
||||
jinja2
|
||||
certifi
|
||||
appdirs
|
Loading…
Add table
Add a link
Reference in a new issue