A real estate firm has sold a 5,000-square-foot office building in Gloucester City, in a newly announced deal by Wolf Commercial Real Estate.