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/13 22:16:38 UTC
[juneau-petstore] branch master updated: 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
The following commit(s) were added to refs/heads/master by this push:
new 77c5b95 JUNEAU-152 Added a Dockerfile to run app using war file
new 8a547cd Merge pull request #2 from ishita20/dev
77c5b95 is described below
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