Melaine Gérard
d89ddafccc
Some checks failed
Build and Push Docker Image / build (push) Failing after 10s
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"] |