Closed ahmedomarjee closed 10 years ago
Needed to mention that this changes the decker.json format slightly to support the includes pattern.
With a little more effort we could probably support both styles.
So instead of:
{
"images": {
"decking/example-api": "./docker/api",
"decking/example-admin": "./docker/admin",
"decking/example-web": "./docker/web"
},
.
.
.
}
we need to use:
{
"images": {
"decking/example-api": {
dockerfile: "./docker/api",
includes: ["dist"]
}
"decking/example-admin": {
dockerfile: "./docker/admin"
},
"decking/example-web": {
dockerfile: "./docker/web"
},
},
.
.
.
}
There is a bug in the includes pattern, also added support for both old and new decking.json format.
Fixed in a later pull request.