By not passing the --deployment flag to docker we are able to just copy the contents of /usr/local/bundle/ over and remove the files we don't need. This makes it where we don't have to run bundle install in the 2nd container. Also use Dockerhub for building images instead of requiring users to build them locally.
By not passing the
--deployment
flag to docker we are able to just copy the contents of/usr/local/bundle/
over and remove the files we don't need. This makes it where we don't have to runbundle install
in the 2nd container. Also use Dockerhub for building images instead of requiring users to build them locally.