Preheat oven to 425 degrees F. Line a baking sheet with aluminum foil; spray with cooking spray.
Cut potato into French fries.
Mix olive oil, garlic powder, and onion powder together. Coat potatoes with oil/spice mixture and place on prepared baking sheet.
Bake for 30 minutes in preheated oven, flipping fries halfway, until crisp and browned.