10 lines
592 B
Docker
10 lines
592 B
Docker
FROM tomcat:8.5-jre8-alpine
|
|
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
|
|
COPY ./src/main/resources/eu/dnetlib/repo/manager/service/application.properties /usr/local/tomcat/lib/application.properties
|
|
COPY ./src/main/resources/eu/dnetlib/repo/manager/service/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"]
|
|
|