In some cases, you may want to run a certain set of commands before your services start. With the setup directive, you can provide a set of commands that perform these actions.

Setup Structure

The setup directive takes a list of commands and runs these in the top-level directory of your codebase.

image: nodejs
- command-one
- command-two

The setup directive does not accept a port field.