Project

General

Profile

1
#FROM tomcat:7.0.90-jre8
2
FROM tomcat:8.5.71-jre8-openjdk-bullseye
3
MAINTAINER "pkanakakis@di.uoa.gr"
4
RUN ["rm", "-fr", "/usr/local/tomcat/webapps/ROOT"]
5
COPY ./target/uoa-repository-manager-service.war /usr/local/tomcat/webapps/uoa-repository-manager-service.war
6
#COPY src/main/resources/dnet-override-new.properties /usr/local/tomcat/lib/dnet-override.properties
7
COPY validator.env /usr/local/tomcat/lib/dnet-override.properties
8
#COPY src/main/resources/application.properties /usr/local/tomcat/lib/application.properties
9
#COPY src/main/resources/email-texts.properties /usr/local/tomcat/lib/email-texts.properties
10
VOLUME /var/log/uoa-repository-manager-service:/var/log/uoa-repository-manager-service/
11
CMD ["catalina.sh", "run"]
12

    
(1-1/2)