Skip to content

Commit 3e24f68

Browse files
jaisontjcoco98
authored andcommitted
Improves docs and add docker-config for java-spring-boot (#44)
* Added Comment * Added Config
1 parent e2b7d81 commit 3e24f68

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

java-spring-boot/Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,7 @@ WORKDIR /spring-boot
88
Add . /spring-boot
99

1010
RUN mvn package
11+
12+
#Replace java-spring-boot-1.0-SNAPSHOT.jar with <artifactId>-<version>.jar specified in your pom.xml
1113
CMD ["/usr/lib/jvm/java-8-openjdk-amd64/bin/java", "-jar", "target/java-spring-boot-1.0-SNAPSHOT.jar"]
1214

java-spring-boot/docker-config.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
image: "java:<tag>"
2+
port: 8080
3+
volume_mounts: null
4+
env_variables: []

0 commit comments

Comments
 (0)