@@ -35,19 +35,29 @@ Once you have unpacked the jar file, you can also get an extra boost to startup
...
@@ -35,19 +35,29 @@ Once you have unpacked the jar file, you can also get an extra boost to startup
More efficient container images can also be created by copying the dependencies to the image as a separate layer from the application classes and resources (which normally change more frequently).
More efficient container images can also be created by copying the dependencies to the image as a separate layer from the application classes and resources (which normally change more frequently).
There is more than one way to achieve this layer separation.
There is more than one way to achieve this layer separation.
For example, using a `Dockerfile` you could express it in this form (assuming the jar is already unpacked at `target/dependency`):
For example, using a `Dockerfile` you could express it in this form: