faradayio / cage

Develop and deploy complex Docker applications
http://cage.faraday.io
Apache License 2.0
307 stars 26 forks source link

Provide a working Node+yarn example with in-tree Dockerfiles and source #24

Closed emk closed 7 years ago

emk commented 7 years ago

Not everybody will have have one git repository per Docker image. For smaller projects, you may just want to keep the Dockerfile and supporting source code directly under src without using an external repo.

To make this work, we need to:

emk commented 7 years ago

@dkastner @seamusabshere cage repo is about to become obsolete as a command name, because we will very shortly support both external source directories and also local source in the main repo.

How do you feel about cage source list, cage source clone myservice, cage source unmount myservice (equivalent to the old mode image) and cage source mount myservice (equivalent to mode repo)?

seamusabshere commented 7 years ago

i love it

seamusabshere commented 7 years ago

"source" and "mount" are exactly the right words

erithmetic commented 7 years ago

source sounds good to me too