Use a vegan butter instead of dairy butter. You can also use a flax egg instead of a regular egg to make the cookies vegan-friendly.