2021-10-22 13:32:44 +02:00
|
|
|
#FROM tomcat:7.0.90-jre8
|
|
|
|
FROM tomcat:8.5.71-jre8-openjdk-bullseye
|
2019-02-16 11:04:41 +01:00
|
|
|
MAINTAINER "pkanakakis@di.uoa.gr"
|
|
|
|
RUN ["rm", "-fr", "/usr/local/tomcat/webapps/ROOT"]
|
|
|
|
COPY ./target/uoa-repository-manager-service.war /usr/local/tomcat/webapps/uoa-repository-manager-service.war
|
2019-07-19 11:31:23 +02:00
|
|
|
#COPY src/main/resources/dnet-override-new.properties /usr/local/tomcat/lib/dnet-override.properties
|
2021-10-22 13:32:44 +02:00
|
|
|
COPY validator.env /usr/local/tomcat/lib/dnet-override.properties
|
2019-02-16 11:04:41 +01:00
|
|
|
#COPY src/main/resources/application.properties /usr/local/tomcat/lib/application.properties
|
|
|
|
#COPY src/main/resources/email-texts.properties /usr/local/tomcat/lib/email-texts.properties
|
|
|
|
VOLUME /var/log/uoa-repository-manager-service:/var/log/uoa-repository-manager-service/
|
|
|
|
CMD ["catalina.sh", "run"]
|
|
|
|
|