Kiss-Shot_Acerola-Orion_Hea.../Dockerfile

11 lines
294 B
Docker
Raw Normal View History

FROM eclipse-temurin:21-alpine AS build
WORKDIR /src
COPY . .
RUN ./gradlew clean shadowJar
FROM eclipse-temurin:21-alpine AS runner
RUN mkdir -p /app
WORKDIR /app
COPY --from=build /src/build/libs/kiss-shot-acerola.jar /app/kiss-shot-acerola.jar
CMD ["java", "-jar", "kiss-shot-acerola.jar"]