How to modify Dockerfile?

The last 5 lines of the app.yml contain an example of running custom commands, for example adding

- exec: curl example.com/script.sh | bash

Will download an execute that script.