The list courtesy of ConsequenceOfSound.net, with their own caveat that "it’s easier to identify a rock and roll movie than define one."
Number 50 is 2017's Baby Driver, which featured a main character who drives getaway cars while playing his favorite tunes through earbuds.
Other titles--That Thing You Do (1996), Forrest Gump (1994), and Tommy (1975) illustrate the breadth of the list.
The top three: Almost Famous, This Is Spinal Tap, and Purple Rain at #1.