June 20 (Reuters) - Eli Lilly and Co will buy Dice Therapeutics Inc in an all-cash deal worth about $2.4 billion, the two companies said on Tuesday. (Reporting by Leroy Leo in Bengaluru' Editing by Sriraj Kalluvila)