Adult moths just need nectar, maybe a fresh dandelion each day. The caterpillars might eat Asteraceae leaves, although some Glyphipterix larvae eat seeds. A clean glass bottle with a piece of fabric over the top held by an elastic band is all you need