mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-12-12 21:30:29 +05:30
Add support for BuildKit's caching feature. (#196)
This commit is contained in:
parent
94f5fa37ac
commit
20a9426abb
@ -4,7 +4,8 @@ WORKDIR /app/
|
||||
|
||||
COPY . /app/
|
||||
|
||||
RUN chmod +x ./gradlew && ./gradlew shadowJar
|
||||
RUN --mount=type=cache,target=/root/.gradle/caches/ \
|
||||
./gradlew shadowJar
|
||||
|
||||
FROM eclipse-temurin:11-jre
|
||||
|
||||
|
@ -4,7 +4,8 @@ WORKDIR /app/
|
||||
|
||||
COPY . /app/
|
||||
|
||||
RUN chmod +x ./gradlew && ./gradlew shadowJar
|
||||
RUN --mount=type=cache,target=/root/.gradle/caches/ \
|
||||
./gradlew shadowJar
|
||||
|
||||
FROM ibm-semeru-runtimes:open-11-jre
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user