build: Adds dockerfile for easily building proxy

This commit is contained in:
Krrish Dholakia 2023-10-16 15:09:22 -07:00
parent ad202a30da
commit 81373f0678
7 changed files with 26 additions and 0 deletions

15
Dockerfile Normal file
View 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