I saw the movie in Germany, in the late 90s or early 2000s.
It is live action, not animation. Practical effects, no CGI as far as I recall.
A starship is on its way to Earth. It is some kind of commercial transport ship, aesthetics and tech-level more "Alien" than "Star Trek".
Early in the movie, the ship is hit by a small asteroid, and critically damaged.
The ship's captain takes the only available rescue capsule, and arrives safely at Earth, reporting that the rest of the crew died in the accident.
The main part of the movie is about the rest of the crew (a small group, men and women, not more than 10, probably less) is trying to fix the ship to get home. In this process, most of the crew die one after another. The only particular one that I remember is a female crewmember who performs an EVA for repairs, and dies rather graphically when her space-suit is accidentally pierced by an antenna, and immediately decompresses.
In the end, only one male crewmember arrives at Earth, confronting the captain in front of running cameras about leaving his crew behind.