Advice on commute

I started a new job today the problem is due to train timetable I get in 40 mins early- as in the entire building is closed and no one is there

I wouldn’t mind if the building was open and I could sit inside and eat breakfast but it isn’t.

Also the train costs £318 a month which makes up around 1/5 of a my salary

Is it worth it? Or should I find a different job?