A dish was a container food was served in.
At times, the word also referred to the food within the container.
In 1930, Edith Keeler offered James T. Kirk and Spock a job doing sweeping, cleaning and washing dishes in exchange for remuneration. (TOS: "The City on the Edge of Forever")