What’s deductible when living out of town for a long term 1099 contract?

Hello

I have a contract coming for 12-24 months which will require me to be onsite Monday-Friday. The place of business is about 85 miles from my home. 

I plan to buy an RV or house to stay there during the week, and drive straight to work Monday morning and straight home after work Friday.

 

I have some flexibility on how the contract is constructed.

 

How is the best way tax wise to handle the expenses associated with traveling to/from and residing there? If I buy an RV is it’s cost deductible, or if I buy a house what part of it is deductible?

Thanks for the help!