Docker Plugin
Are there sample project structures that show how to integrate Docker with a SpringBoot application? Please don't send videos or links on Spring/Docker - There are many videos and blogs on Docker and Spring but none that show a simple project structure such that you can run one Maven command to compile and build the .jar file, include it into the image such that you are ready to instantiate the container. I'm looking for a simple example with the necessary POM file(s). I'd like to know if I need to have two POM files - one for the Java code and one for the Dockerfile construction.
请先登录再写评论。