I would have the door open outwards to the right, there seems to be a dead corner in the hallway? So no one comes running there who you could slam it in front of.
So if outward, then towards the [HKV]. Because that's where the roof slope is. By the way, in the apartment, the door also opens outward. Due to space constraints.