👷 update Dockerfile

This commit is contained in:
ronger 2022-09-30 14:40:46 +08:00
parent 41c82a4386
commit d9a07143e4

View File

@ -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