Refactor start script and Dockerfile, switch to bash entrypoint
This commit is contained in:
parent
2039066aa1
commit
e8a56819cf
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…
Reference in New Issue
Block a user