Skip to content
This repository has been archived by the owner on Jan 28, 2022. It is now read-only.

v0.0.2 - Support for local directory in app container

Compare
Choose a tag to compare
@sclevine sclevine released this 08 Dec 05:32
· 159 commits to master since this release

This release introduces a -d option to cf local run.
This option mounts /home/vcap/app to a local directory of your choosing:

$ cf local pull my-cf-app
$ cf local run -p 3000 -d local-dir my-cf-app
$ cd local-dir
$ # now I'm inside the running app root

If the directory is empty (or non-existent), the droplet app is copied to it.
If the directory is not empty, its contents are used in place of the app contents.