Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dockerfile: allow Docker to cache build steps (#1336)
- By having a `COPY . xx` step before installing dependencies, we rob Docker of the opportunity to cache downloading and building dependencies if we make any changes to any files in the repository. By copying only Gemfiles before the build step, we only require Docker to rebuild dependencies when the Gemfiles have changed. Co-authored-by: Matthew Peveler <[email protected]>
- Loading branch information