Created by Thomas Einwaller 2017-09-09 View revision File snippet.txt Added Side-by-side diff More Ignore whitespace Hide word diff +FROM openjdk:8-jdk as builder +COPY . /app +WORKDIR /app +RUN /app/gradlew --no-daemon clean assemble + +FROM registry.troii.net/tomcat:8 +MAINTAINER Thomas Einwaller, tom@troii.com +COPY catalina.properties /usr/local/tomcat/conf/ +COPY --from=builder /app/timrweb/build/libs/timr.war /usr/local/tomcat/webapps/timr.war + +EXPOSE 8080