Skip to content

Commit 49be6f1

Browse files
committed
forgot to add port expose
1 parent 8788938 commit 49be6f1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,6 @@ ADD pom.xml /home
77

88
RUN mvn package
99

10+
EXPOSE 8080
11+
1012
CMD ["java", "-jar", "/home/target/hello-world-0.0.1-SNAPSHOT.jar"]

0 commit comments

Comments
 (0)