Fix Maven cache

This commit is contained in:
Ben van Hartingsveldt 2024-12-01 20:19:43 +01:00
parent 5198b41c67
commit 69eea2ebf4
No known key found for this signature in database
GPG key ID: 261AA214130CE7AB

View file

@ -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/