Refactor start script and Dockerfile, switch to bash entrypoint

This commit is contained in:
coconut49 2023-10-17 22:53:06 +08:00
parent 2039066aa1
commit e8a56819cf
No known key found for this signature in database
2 changed files with 4 additions and 9 deletions

View file

@ -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" ]