diff --git a/Dockerfile b/Dockerfile index f465d7b..d27a988 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ COPY pom.xml /MetFragRelaunched/ RUN printf '# local database file folder \n\ LocalDatabasesFolderForWeb = /vol/file_databases' > /MetFragRelaunched/MetFragWeb/src/main/webapp/resources/settings.properties -RUN mvn -Dhttps.protocols=TLSv1.2 -f MetFragRelaunched clean package -pl MetFragLib -pl MetFragWeb -am -DskipTests +RUN --mount=type=cache,target=/root/.m2 mvn -f MetFragRelaunched clean package -pl MetFragWeb -am -DskipTests FROM alpine:latest AS downloader