Serverless Framework Docs

#Knative - Packaging

#Package CLI Command

Using the Serverless CLI tool, you can package your project without deploying it to Knative. This is best used with CI / CD workflows to ensure consistent deployable artifacts.

Running the following command will build and push the container image which is specified with a Dockerfile the corresponding function handler points to:

serverless package

Have questions?

Head over to the forums to search for your questions and issues or post a new one.