To make this recipe gluten-free, substitute traditional phyllo dough with a gluten-free alternative, which is available in specialty stores. Ensure all other ingredients, particularly the cumin seeds and chili flakes, are certified gluten-free to avoid cross-contamination.