Liriope tolerates a wide range of soils and soil conditions, except for constantly soggy or wet soils. When growing in a container use good potting soil, potting mix, or a 50/50 combination of thereof. For a permanent type planting or planting garden, it is necessary to build your container in levels to accommodate the needs.
Make sure there is adequate drainage in the pot or container, that it has holes. Be sure to use gravel or other stones in the first layer of the planting so the holes do not become blocked and the drainage gets clogged.