Electric cooker with cupboard