Automatic Zip Creation
c8y-nitro turns a normal build into a Cumulocity-ready artifact pipeline.
Instead of treating packaging as a separate script you have to remember, the module runs it as part of the Nitro lifecycle when the app closes outside dev mode.
Process
- Dockerfile Generation — Creates an optimized Dockerfile using Node.js 24-slim
- Docker Image Build — Builds and saves the Docker image to
image.tar - Manifest Generation — Creates
cumulocity.jsonfrom yourpackage.jsonand configuration - Zip Package — Combines
image.tarandcumulocity.jsoninto a deployable zip file
Note: Docker must be installed and available in your PATH.
The generated zip file (default: <package-name>-<version>.zip in the root directory) is ready to upload directly to Cumulocity.
Customizing Output
Use the zip options when you want to change the artifact name, output directory, or packaging-time manifest overrides.