forest/Dockerfile

13 lines
229 B
Docker
Raw Normal View History

FROM rymcu/java-container:1.0.0
MAINTAINER rymcu.com
2022-10-01 00:43:56 +08:00
COPY target/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