Skip to content

Commit 8814e9a

Browse files
committed
Dockerfile has been added
1 parent ec8ca3b commit 8814e9a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Dockerfile

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
FROM dockerfile/java:openjdk-7-jdk
2+
3+
ADD HelloWorldProj-0.0.1-SNAPSHOT.jar /target/HelloWorldProj-0.0.1-SNAPSHOT.jar
4+
5+
ADD hello-world.yml /target/hello-world.yml
6+
7+
CMD java -jar HelloWorldProj-0.0.1-SNAPSHOT.jar server /target/hello-world.yml
8+
9+
EXPOSE 8080

0 commit comments

Comments
 (0)