JohnMurray / cpp-vs

An educational site for learning C++
https://www.cpp-vs.com
Other
10 stars 1 forks source link

Docker Cache Improvements #39

Closed JohnMurray closed 6 years ago

JohnMurray commented 6 years ago

Break up the dockerfile for building the site into more cahceable components. Now it's much faster to iterate on changes to versues and does not require an internet connection (previously the rubygem install bits were not cached). No internet connections should be required most of the time since no package/npm/gem installs will be needed.

Compiling the site-generator is also done before the general site-generation, which gives a significant speed boost to the change/build/test cycle.