Public school, kindergarten, elementary, middle, or high school having a curriculum including the same courses as ordinarily given in a public school but not providing residential accommodations for students; provided, that no building shall be located less than 25 feet from any property line.