[ BAEL-5503 ] - Difference Between links and depends_on in Docker-Compose (#12503)

* updates pom-xml and adds Dockerfile to build a web-app image

* add depends-on vs links yml examples
This commit is contained in:
lucaCambi77
2022-07-16 17:37:07 +02:00
committed by GitHub
parent b6e04505ef
commit 09651da81e
5 changed files with 78 additions and 0 deletions
+10
View File
@@ -34,6 +34,16 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<mainClass>com.baeldung.docker.app.DockAppApplication</mainClass>
</configuration>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>