Skip to content

Commit

Permalink
Add cache to mvn package
Browse files Browse the repository at this point in the history
  • Loading branch information
meier-rene committed Oct 29, 2024
1 parent ec1dfb3 commit 9aca827
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 9aca827

Please sign in to comment.