forked from phoenix/litellm-mirror
(ci/cd) set litellm as entrypoint
This commit is contained in:
parent
3f813d492a
commit
7a65daf13d
2 changed files with 4 additions and 3 deletions
|
@ -54,4 +54,7 @@ RUN chmod +x entrypoint.sh
|
||||||
EXPOSE 4000/tcp
|
EXPOSE 4000/tcp
|
||||||
|
|
||||||
# Set your entrypoint and command
|
# Set your entrypoint and command
|
||||||
CMD ["./entrypoint.sh"]
|
CMD ["./entrypoint.sh"]
|
||||||
|
|
||||||
|
# this allows accepting litellm args
|
||||||
|
ENTRYPOINT ["litellm", "--port", "4000"]
|
||||||
|
|
|
@ -46,5 +46,3 @@ fi
|
||||||
|
|
||||||
echo "Database push successful!"
|
echo "Database push successful!"
|
||||||
|
|
||||||
# Start server
|
|
||||||
litellm --port 4000 --num_workers 8
|
|
Loading…
Add table
Add a link
Reference in a new issue