4 ms·
Order of copying is especially important with Java (Maven/Gradle) builds and NPM, it saves time. Its also good to speed up builds with configuring them to cach
by mothsonasloth 7y ago
Order of copying is especially important with Java (Maven/Gradle) builds and NPM, it saves time.
Its also good to speed up builds with configuring them to cache artifacts in a separate layer before the build happens or you can get them to use the host machines cached .m2 /.npm folders as a volume, however that might not work with pipelines etc. that build the docker containers.