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
|
FROM python:3.10
|
||||||
|
|
||||||
RUN pip install poetry
|
COPY . /app
|
||||||
|
|
||||||
WORKDIR /app
|
|
||||||
|
|
||||||
COPY . .
|
|
||||||
|
|
||||||
RUN pip install -r requirements.txt
|
RUN pip install -r requirements.txt
|
||||||
|
|
||||||
WORKDIR /app/litellm/proxy
|
WORKDIR /app/litellm/proxy
|
||||||
|
|
||||||
RUN python proxy_cli.py --config -f /app/secrets_template.toml
|
ENTRYPOINT [ "/bin/bash", "/app/litellm/proxy/start.sh" ]
|
||||||
|
|
||||||
RUN python proxy_cli.py
|
|
|
@ -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
|
python3 proxy_cli.py
|
Loading…
Add table
Add a link
Reference in a new issue