Avoid some folder or files using the command cf push

Juan Antonio BreƱa Moral <bren at juanantonio.info...>


sometimes, I deploy applications using CLI with the command cf push. This command uploads the content of a folder and it uses the manifest file. I would like to know if exist some way in the manifest.yml or another file to avoid uploading some folder.

For example, if any developer create Node.js Application, the folder node_modules is not necessary to upload because Node.js buildpack is able to read and download the required dependencies described in the file package.json

Does exist some way to do it?

Many thanks in advance.

Juan Antonio

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.