This is an English language American movie from within the last decade.
Two guys and a girl are looking for a tracker/radio signal. They find it outside a dilapidated shack. There are bright lights and one of the guys wakes up in a hospital. He’s in a wheelchair and there are people in biohazard suits. He’s not allowed to leave.
At one point he talks to his friend through a vent. At least the two guys escape, maybe the girl also I can’t remember. They are chased by the military/biohazard guys from the hospital in a big truck. It looks like earth but they come to an invisible edge/border.
In the end, there’s only the first guy left. I think his friend sacrificed himself to help. In the end he realises that he’s actually on a giant spaceship in the middle of space and then it ends.