-
Notifications
You must be signed in to change notification settings - Fork 47
Packaging app
KavinKrishnan edited this page Sep 9, 2021
·
29 revisions
Utility for building deployable MONAI application package Docker image from application developed with MONAI SDK
monai-deploy package [Path of MONAI Application Code] -t [Tag for resulting Docker image of MONAI App Package]
$ monai-deploy package ./spleen_segmentation_app -t monaispleen:latest
Building MONAI Application Package...
Successfully built monaispleen:latest
-
<MONAI application path>
Path of MONAI Application Code -
--tag, -t
Tag for resulting Docker image of MONAI App Package
-
--base
Base Application Image (overrides default"nvcr.io/nvidia/pytorch:21.07-py3"
) -
--working-dir, -w
Directory mounted in container for Application (overrides default"/var/monai"
) -
--input-dir, -i
Directory mounted in container for Application Input (overrides default"input"
) -
--output-dir, -o
Directory mounted in container for Application Output (overrides default"output"
) -
--models-dir
Directory mounted in container for Models Path (overrides default"/opt/monai/models"
) -
--model, -m
Path to local directory containing all application models (will override utilizing models provided within application SDK code) -
--version
Version of the Application (overrides default"0.0.0"
) -
--timeout
Timeout (overrides default0
)
INTRODUCTION
GETTING STARTED
DEVELOPING WITH SDK
- Core concepts
- Creating Operator classes
- Creating Application class
- Executing app locally
- Packaging app
- Executing packaged app locally
- Deploy to the remote server - coming soon
MODULES