Fix Maven cache
This commit is contained in:
parent
5198b41c67
commit
69eea2ebf4
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ FROM maven:3.9.9-eclipse-temurin-21-alpine AS build
|
||||||
WORKDIR /tmp
|
WORKDIR /tmp
|
||||||
COPY ./pom.xml ./pom.xml
|
COPY ./pom.xml ./pom.xml
|
||||||
COPY ./src ./src
|
COPY ./src ./src
|
||||||
RUN mvn install
|
RUN --mount=type=cache,target=/root/.m2 mvn install
|
||||||
|
|
||||||
FROM eclipse-temurin:23-alpine
|
FROM eclipse-temurin:23-alpine
|
||||||
WORKDIR /opt/lbry/globe/
|
WORKDIR /opt/lbry/globe/
|
||||||
|
|
Loading…
Add table
Reference in a new issue