Closed benjamine closed 10 years ago
it seems that this is happening (at least to me) even if no change is done:
Retrieving templates ...
Changes detected in configuration file, rebuilding containers ...
Cleaning server ...
Cleaning redis ...
Cleaning database ...
Building gaudi/server ...
Pulling redis ...
Building gaudi/database ...
...
and the docker build is run with no cache, ie. all steps are executed again.
I've made the decision to rebuild all containers after a change on the config file, it avoids to forget to rebuild after each change.
I'll change this behavior to no rebuild after a change and let the user run gaudi rebuild
after a signifiant change in the configuration file.
cool, what is weird also is it seems that build is without the docker cache
Fixed in #80
I built a simple yaml file, a nodejs server with redis and postgres db. I built. I added a
volume:
line on the node.js app, and next time I rungaudi
the whole container was built from scratch, while actually there was no change to its Dockerfile, just a new volume mapping, which normally just requires to stop the container and run it again. For some reason the docker cache is getting clean when gaudi.yml changes?