forked from phoenix/litellm-mirror
(fix) dockerfile - use litellm as entrypoint
This commit is contained in:
parent
7a65daf13d
commit
b4d85cbecc
1 changed files with 4 additions and 1 deletions
|
@ -55,4 +55,7 @@ EXPOSE 4000/tcp
|
|||
CMD [ \
|
||||
"sh", "-c", \
|
||||
"if [ -n \"$DATABASE_URL\" ]; then ./entrypoint.sh; else litellm --port 4000 --num_workers 8; fi" \
|
||||
]
|
||||
]
|
||||
|
||||
# this allows accepting litellm args
|
||||
ENTRYPOINT ["litellm", "--port", "4000"]
|
Loading…
Add table
Add a link
Reference in a new issue