The supervision of all buildings and structures used as places for public amusement in municipalities having no local building supervision shall in all respects conform to a building code, prepared and promulgated by the commissioner of labor, due attention being paid to means of preventing and escaping from fire and other hazards.