2022-09-30 14:40:46 +08:00
|
|
|
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/
|
2022-09-30 14:40:46 +08:00
|
|
|
|
|
|
|
ENV JAVA_HOME=/usr/lib/jvm/jdk1.8.0_202
|
|
|
|
|
|
|
|
ENV PATH=$JAVA_HOME/bin:$PATH
|
|
|
|
|
2022-10-01 01:02:36 +08:00
|
|
|
CMD ["/usr/local/tomcat/bin/catalina.sh", "run"]
|
2022-09-30 14:40:46 +08:00
|
|
|
|
|
|
|
EXPOSE 8080
|