mirror of
https://github.com/revanced/revanced-api.git
synced 2025-04-29 22:24:31 +02:00

This commit converts the entire project to a KTor project written in Kotlin. Various APIs have been updated, removed, or changed. A proxy is present to allow migration between the old and this API, which can serve requests to endpoints from the old API.
20 lines
397 B
Docker
20 lines
397 B
Docker
# Build the application
|
|
FROM gradle:latest AS build
|
|
|
|
ARG GITHUB_ACTOR
|
|
ARG GITHUB_TOKEN
|
|
|
|
ENV GITHUB_ACTOR=$GITHUB_ACTOR
|
|
ENV GITHUB_TOKEN=$GITHUB_TOKEN
|
|
|
|
WORKDIR /app
|
|
COPY . .
|
|
RUN gradle startShadowScript --no-daemon
|
|
|
|
# Build the runtime container
|
|
FROM eclipse-temurin:latest
|
|
|
|
WORKDIR /app
|
|
COPY --from=build /app/build/libs/revanced-api-*.jar revanced-api.jar
|
|
CMD java -jar revanced-api.jar $COMMAND
|