mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2025-04-29 08:20:30 +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/
|
COPY . /app/
|
||||||
|
|
||||||
RUN chmod +x ./gradlew && ./gradlew shadowJar
|
RUN --mount=type=cache,target=/root/.gradle/caches/ \
|
||||||
|
./gradlew shadowJar
|
||||||
|
|
||||||
FROM eclipse-temurin:11-jre
|
FROM eclipse-temurin:11-jre
|
||||||
|
|
||||||
|
@ -4,7 +4,8 @@ WORKDIR /app/
|
|||||||
|
|
||||||
COPY . /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
|
FROM ibm-semeru-runtimes:open-11-jre
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user