Project

General

Profile

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

    
(1-1/2)