In my project I'd like to containerize my Spring Boot applications not only on production environment but also locally. In order to do that I'd like to:
Is such scenario possible? I do not want to use Gradle or Maven to build the application in the container - I want to tell IntelliJ Idea to use the inside docker container java compiler, not the one that i have locally.
What might be helpful is described here. Basically you need devtools and run a spring-boot application inside a docker container - musn't be done via java -jar ...
- rather with maven or gradle plugins. Then setup a java application configuration with RemoteSpringApplication class and it should work.
Unfortunately I've experienced some problems, see this question.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With