Open OneCricketeer opened 1 year ago
The context sends too much information, IMO
=> [internal] load build context 0.4s => => transferring context: 24.65MB
./gradlew clean build docker build --no-cache -t img .
The context can be reduced to only include the necessary files.
Ideally, multi-stage builds are used from a gradle base image, then copied to the JRE image.
Subject of the issue
The context sends too much information, IMO
Steps to reproduce
Expected behaviour
The context can be reduced to only include the necessary files.
Ideally, multi-stage builds are used from a gradle base image, then copied to the JRE image.