Melaine Gérard
f4d1b1c1d4
All checks were successful
Build and Push Docker Image / build (push) Successful in 2m40s
11 lines
294 B
Docker
11 lines
294 B
Docker
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"] |