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
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.