1. Commit dockerfile
This commit is contained in:
parent
de19920f3d
commit
5c2dd36f0b
|
@ -0,0 +1,9 @@
|
|||
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"]
|
||||
|
Loading…
Reference in New Issue