You can follow the instructions shared by Apple in the supportApple Support document, MacBook Pro: Bottom case foot replacement DIY instructions.
There is absolutely no need to shell out money to replace the entire bottom panel. However, the article explicitly mentions that the DIY replacement kit is not available for MacBook Pro with Retina display computers. But theThe procedure shared appears quite straightforward.
As apparent from the article, glue can be used to stick the feet to the bottom panel. On the other hand, this Youtube video gives a good demonstration of how to remove the bottom panel and place the bottom feet the recommended way.
Note: I have had a similar situation with my Late 2013 15" retina MacBook Pro. I have used glue to paste the falling off feet to the back panel.