diff --git a/Dockerfile b/Dockerfile index 8c8140ffc3..24b4c48cd0 100644 --- a/Dockerfile +++ b/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 \ No newline at end of file +ENTRYPOINT [ "/bin/bash", "/app/litellm/proxy/start.sh" ] \ No newline at end of file diff --git a/litellm/proxy/start.sh b/litellm/proxy/start.sh index 09357679ca..5863661084 100755 --- a/litellm/proxy/start.sh +++ b/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 \ No newline at end of file