mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-20 06:23:46 +00:00
Refactor start script and Dockerfile, switch to bash entrypoint
This commit is contained in:
+2
-8
@@ -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
|
||||
Reference in New Issue
Block a user