forked from phoenix/litellm-mirror
Move Dockerfile to root and set environment variable for config path
This commit is contained in:
parent
52fdfe5819
commit
be78f2ade9
1 changed files with 1 additions and 1 deletions
13
Dockerfile
Normal file
13
Dockerfile
Normal file
|
@ -0,0 +1,13 @@
|
|||
FROM python:3.10
|
||||
|
||||
ENV LITELLM_CONFIG_PATH="/litellm.secrets.toml"
|
||||
COPY . /app
|
||||
WORKDIR /app
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
WORKDIR /app/litellm/proxy
|
||||
EXPOSE 8000
|
||||
ENTRYPOINT [ "python3", "proxy_cli.py" ]
|
||||
# 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 -v ./secrets_template.toml:/root/.config/litellm/litellm.secrets.toml ghcr.io/BerriAI/litellm:v0.8.4`
|
Loading…
Add table
Add a link
Reference in a new issue