We theoretically study the coupled modes of a medium-size quantum dot, which may confine a maximum of ten electron-hole pairs, and a single photonic mode of an optical microcavity. Ground-state and excitation energies, exciton-photon mixing in the wave functions and the emission of light from the microcavity are computed as functions of the pair-photon coupling strength, photon detuning, and polariton number.