Renamed deployable war to ROOT in order to homogenize urls regardless… (#141)

* Renamed deployable war to ROOT in order to homogenize urls regardless of deployment method

* Made Maven quite when doing downloading dependencies
This commit is contained in:
Jens Kristian Villadsen
2020-09-21 19:19:10 +02:00
committed by GitHub
parent c42530e3f3
commit ee337296ee
4 changed files with 13 additions and 13 deletions

View File

@@ -2,12 +2,12 @@ FROM maven:3.6.3-jdk-11-slim as build-hapi
WORKDIR /tmp/hapi-fhir-jpaserver-starter
COPY pom.xml .
RUN mvn dependency:go-offline
RUN mvn -ntp dependency:go-offline
COPY src/ /tmp/hapi-fhir-jpaserver-starter/src/
RUN mvn clean install -DskipTests
FROM tomcat:9.0.37-jdk11-openjdk-slim-buster
FROM tomcat:9.0.38-jdk11-openjdk-slim-buster
RUN mkdir -p /data/hapi/lucenefiles && chmod 775 /data/hapi/lucenefiles
COPY --from=build-hapi /tmp/hapi-fhir-jpaserver-starter/target/*.war /usr/local/tomcat/webapps/