[ 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:
4
docker-modules/docker-compose/Dockerfile
Normal file
4
docker-modules/docker-compose/Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user