What is the corresponding section for docker CMD?

I am trying to port my Dockerfile to Packer.
I can copy Dockerfile’s “RUN” section into Packer’s “provisions” section.
However I am not sure how to port the “CMD” section. What’s the equivalent section in Packer?

The Docker builder / changes to metadata section states that this can be added to the builder.changes part of the template:

Allowed metadata fields that can be changed are:

  • CMD
    • String, supports both array (escaped) and string form
    • EX: CMD [\"nginx\", \"-g\", \"daemon off;\"] corresponds to Docker exec form
    • EX: "CMD nginx -g daemon off;" corresponds to Docker shell form, invokes a command shell first