diff --git a/Dockerfile b/Dockerfile index 270c3b736..3b701cd49 100644 --- a/Dockerfile +++ b/Dockerfile @@ -51,6 +51,8 @@ RUN chmod +x entrypoint.sh EXPOSE 4000/tcp +# Set your entrypoint and command - if user wants to use Prisma Database +ENTRYPOINT ["sh", "-c", "[ -n \"$DATABASE_URL\" ] && ./entrypoint.sh"] # this allows accepting litellm args -ENTRYPOINT ["litellm", "--port", "4000"] \ No newline at end of file +CMD ["litellm", "--port", "4000"] \ No newline at end of file