-
Notifications
You must be signed in to change notification settings - Fork 61
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, -tTag for resulting Docker image of MONAI App Package
-
--baseBase Application Image (overrides default"nvcr.io/nvidia/pytorch:21.07-py3") -
--working-dir, -wDirectory mounted in container for Application (overrides default"/var/monai") -
--input-dir, -iDirectory mounted in container for Application Input (overrides default"input") -
--output-dir, -oDirectory mounted in container for Application Output (overrides default"output") -
--models-dirDirectory mounted in container for Models Path (overrides default"/opt/monai/models") -
--model, -mPath to local directory containing all application models (will override utilizing models provided within application SDK code) -
--versionVersion of the Application (overrides default"0.0.0") -
--timeoutTimeout (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