[ 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 928e408503
commit b8ff02b0cd
5 changed files with 78 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
FROM openjdk:11
MAINTAINER baeldung.com
COPY target/docker-compose-0.0.1-SNAPSHOT.jar app.jar
ENTRYPOINT ["java","-jar","/app.jar"]