The move restricts public gatherings and other activities that could spread the virus.