That sounds like it's Earth Star Voyager.
From the relevant Wikipedia article:
Earth Star Voyager is the name of a science fiction television movie
shown on the Wonderful World of Disney in 1988. The show aired as a
two-part pilot, but was never picked up for a series and has not been
released on DVD, although a fan base for the pilot has grown over the
The Wikipedia article has a much longer plot synopsis.
The "hamburger" in question was called a "veggie bio burger." Before dispensing it, the computer scanned your hand. This not only used your palmprint to access your bank account, but also scanned your body for your current metabolic state. The "burger" was tailored to your nutritional needs at that exact moment.