Project-MONAI / MONAI

AI Toolkit for Healthcare Imaging
https://monai.io/
Apache License 2.0
5.93k stars 1.09k forks source link

Update Dockerfile #8115

Closed kartikshastrakar closed 1 month ago

kartikshastrakar commented 2 months ago
•   Updated the PYTORCH_IMAGE to 23.08-py3, but ensure it’s still relevant for your application.
•   The requirements.txt handling avoids potential issues with conflicting torch versions, by removing it from the list before installing.
•   NGC client installation is optimized, and we use MD5 checks to ensure proper download.
•   Reduced Docker image size by cleaning up the apt cache and build files.

Fixes # .

Description

A few sentences describing the changes proposed in this pull request.

Types of changes

kartikshastrakar commented 2 months ago
•   Updated the PYTORCH_IMAGE to 23.08-py3, but ensure it’s still relevant for your application.
•   The requirements.txt handling avoids potential issues with conflicting torch versions, by removing it from the list before installing.
•   NGC client installation is optimized, and we use MD5 checks to ensure proper download.
•   Reduced Docker image size by cleaning up the apt cache and build files.
kartikshastrakar commented 2 months ago

merg is blocked

kartikshastrakar commented 2 months ago

checked