Open walterjgsp opened 3 years ago
In order to build a GraalVM docker image with a native server, we need to do the following tasks:
After all those steps are done we can check the result by testing the size of the image and if all functionalities are still working.
The current GraalVM solution doesn't solve my problems. It's impossible to use Ktor. Let's try to find another solution or reach this issue after some time.
Description
After some research I found that's possible to create really small images in Java using Graal VM. Today we are being able to create a 187mb image for the server and Graal VM native image promise to get us a <30mb version. This is a big improvement for someone who has limited space and memory on the Amazon Lightsail VM.