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

jfclere pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/main by this push:
     new da7b4f0  Add examples corresponding to the README.
da7b4f0 is described below

commit da7b4f0f2a2760eae0fd7a99531f99e8420c92ec
Author: Jean-Frederic Clere <jfcl...@gmail.com>
AuthorDate: Wed May 26 17:42:17 2021 +0200

    Add examples corresponding to the README.
---
 modules/stuffed/Dockerfile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/stuffed/Dockerfile b/modules/stuffed/Dockerfile
index 5055dc4..715f542 100644
--- a/modules/stuffed/Dockerfile
+++ b/modules/stuffed/Dockerfile
@@ -23,6 +23,7 @@ RUN mkdir -m 777 -p /deployments
 ADD target/tomcat-stuffed-1.0.jar /deployments/app.jar
 ADD conf /deployments/conf
 ADD webapps /deployments/webapps
+# COPY *.war /deployments/
 RUN chmod 777 /deployments/webapps
 
 WORKDIR /deployments
@@ -54,3 +55,4 @@ RUN mkdir -p /opt
 # EXPOSE $prometheusport
 
 ENTRYPOINT [ "sh", "-c", "java $JAVA_OPTS -jar app.jar" ]
+# ENTRYPOINT [ "sh", "-c", "java $JAVA_OPTS -jar app.jar --war 
myrootwebapp.war --path /mydemo --war demo-1.0.war" ]

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to