San Francisco officials are working to make several temporary housing options available to healthy or mildly ill people who have tested positive for the new coronavirus but can’t safely self-quarantine because they’re homeless or living in close quarters with others.

As they brace for more confirmed coronavirus cases in San Francisco, city officials said Tuesday they’re making around 30 recreational vehicles available to act as temporary “isolation housing” for those who don’t need to be hospitalized. The RVs, many of which were being driven to San Francisco Tuesday morning, are being staged in the Presidio.

Where they’ll end up once occupied is still being determined, but officials with the city’s Department of Emergency Management said they would be located in areas where patients and the surrounding community would be protected.

The efforts build off a $5 million commitment the city announced Monday to help homeless people and those living in city shelters, single-room occupancy hotels and permanent supportive housing keep their living quarters clean. The idea is to encourage them to stay indoors as much as possible by providing added meal services.

“Not everyone in our city has access to housing where they can go if they are infected or are exposed to the virus, and it’s important that we take measures like this to care for our most vulnerable residents, including people who are homeless,” Mayor London Breed said in a statement.

The city is also working to identify unoccupied housing and vacant hotel rooms that can act as quarantine quarters for people who may have been exposed to the coronavirus and have no other place available to isolate themselves.

“By providing quarantine support for people who are experiencing homelessness or who live in SROs or other congregate settings, we can help ensure that those who are exposed to the virus are able to self-isolate and reduce their risk of getting sick,” San Francisco Health Director Dr. Grant Colfax said in a statement.

The RVs have been leased through June at a total cost of $443,000, according to Mary Ellen Carroll, director of the city’s Department of Emergency Management.

“The idea is to get these residences in place before they’re needed in order to protect our most vulnerable residents,” she said. “We’re looking at a variety of options for a variety of scenarios, depending on people’s situations.”

Dominic Fracassa is a San Francisco Chronicle staff writer. Email: dfracassa@sfchronicle.com Twitter: @dominicfracassa