From 69eea2ebf4907fffe6982984133063827a7f4a25 Mon Sep 17 00:00:00 2001 From: Ben van Hartingsveldt Date: Sun, 1 Dec 2024 20:19:43 +0100 Subject: [PATCH] Fix Maven cache --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e054395..3bc01b5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM maven:3.9.9-eclipse-temurin-21-alpine AS build WORKDIR /tmp COPY ./pom.xml ./pom.xml COPY ./src ./src -RUN mvn install +RUN --mount=type=cache,target=/root/.m2 mvn install FROM eclipse-temurin:23-alpine WORKDIR /opt/lbry/globe/