The current Dockerfile produces the final image using the whole Maven image which is more than 700MB in size. The multi-stage Dockerfile copies only the files required to run grib2json in an Alpine based OpenJRE image reducing the size of the final image to just 100MB.
The current Dockerfile produces the final image using the whole Maven image which is more than 700MB in size. The multi-stage Dockerfile copies only the files required to run grib2json in an Alpine based OpenJRE image reducing the size of the final image to just 100MB.