meteorhacks / meteord

MeteorD - Docker Runtime for Meteor Apps for Production Deployments
https://registry.hub.docker.com/u/meteorhacks/meteord/
MIT License
439 stars 371 forks source link

Why is using devbuild bad? #24

Open levino opened 9 years ago

levino commented 9 years ago

I don't really see the drawback of the devbuild for production. I build images and push them to a private docker repository. The larger the "base image" for my image, the less I have to push on a code change. Please elaborate a little on why onbuild is still better.

arunoda commented 9 years ago

With devbuild your final image will took more about ~600MB. So, first download will takes a lot of time. After that, it'll get incremental updates. But, I think having a smaller version is something good.

On Wed, Jun 17, 2015 at 1:51 PM Levin Keller notifications@github.com wrote:

I don't really see the drawback of the devbuild for production. I build images and push them to a private docker repository. The larger the "base image" for my image, the less I have to push on a code change. Please elaborate a little on why onbuild is still better.

— Reply to this email directly or view it on GitHub https://github.com/meteorhacks/meteord/issues/24.

levino commented 9 years ago

If you deploy by

docker build -t tag . && docker push tag

the smaller the deltas the better.

levino commented 9 years ago

Actually I dont see such a big difference in the images. In both cases meteor gets installed right "ONBUILD". Could you please elaborate on the difference?