forked from phoenix/litellm-mirror
Refactor start script and Dockerfile, switch to bash entrypoint
This commit is contained in:
parent
2039066aa1
commit
e8a56819cf
2 changed files with 4 additions and 9 deletions
10
Dockerfile
10
Dockerfile
|
@ -1,15 +1,9 @@
|
|||
FROM python:3.10
|
||||
|
||||
RUN pip install poetry
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
COPY . /app
|
||||
|
||||
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
|
||||
ENTRYPOINT [ "/bin/bash", "/app/litellm/proxy/start.sh" ]
|
|
@ -1,2 +1,3 @@
|
|||
python3 proxy_cli.py --config -f ../../secrets_template.toml &
|
||||
#!/bin/bash
|
||||
python3 proxy_cli.py --config -f ../../secrets_template.toml
|
||||
python3 proxy_cli.py
|
Loading…
Add table
Add a link
Reference in a new issue