You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juneau.apache.org by ja...@apache.org on 2019/10/14 13:54:32 UTC

[juneau-petstore] 13/22: JUNEAU-152 Added a Dockerfile to run app using war file

This is an automated email from the ASF dual-hosted git repository.

jamesbognar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/juneau-petstore.git

commit 77c5b95631950fc6255de6cf97a09a76fe70cefd
Author: COMVIVA\ishita.singh <is...@mahindracomviva.com>
AuthorDate: Sat Oct 12 14:30:08 2019 +0530

    JUNEAU-152 Added a Dockerfile to run app using war file
---
 juneau-petstore-server/Dockerfile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/juneau-petstore-server/Dockerfile b/juneau-petstore-server/Dockerfile
new file mode 100644
index 0000000..f438080
--- /dev/null
+++ b/juneau-petstore-server/Dockerfile
@@ -0,0 +1,5 @@
+FROM java:8
+VOLUME /tmp
+ADD target/juneau-petstore-server-8.1.2-SNAPSHOT.war run.war
+EXPOSE 5000
+ENTRYPOINT ["java","-jar","run.war"]
\ No newline at end of file