Skip to main content

Prepare AI app for deployment

The pack command, designed to create a TAR archive encompassing all AI app files, facilitates deployment of the AI application to Openfabric Xplorer.

Usage: ofc pack [-hV] [-f=<outputFile>] [-o=<output>] <input>
Pack existing application given an input path
<input> Package input files
-f, --outputFile=<outputFile>
Package name.
Default: out.tar.gz
-h, --help Show this help message and exit.
-o, --outputPath=<output>
Package output location
-V, --version Print version information and exit.

Executing the pack command yields a TAR archive containing the specified AI APP:

$ ofc pack -f=face-recognition.tar -o= ./face-recognition face-recognition

The previous command will create the following archive:

OpenfabricAI Robot
OpenfabricAI FooterOpenfabricAI Footer