From d9a07143e4d1e42828db87c571dd071728a17ce2 Mon Sep 17 00:00:00 2001 From: ronger Date: Fri, 30 Sep 2022 14:40:46 +0800 Subject: [PATCH] :construction_worker: update Dockerfile --- Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Dockerfile b/Dockerfile index e69de29..b15d27e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM rymcu/java-container:1.0.0 + +MAINTAINER rymcu.com + +COPY forest.war /usr/local/tomcat/webapps/ + +ENV JAVA_HOME=/usr/lib/jvm/jdk1.8.0_202 + +ENV PATH=$JAVA_HOME/bin:$PATH + +CMD ["/tomcat/bin/catalina.sh", "run"] + +EXPOSE 8080 \ No newline at end of file