Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
22388o committed Dec 10, 2024
1 parent 12c599a commit 638c598
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Stage 1: Kotlin Build
FROM openjdk:21 AS kotlin-build
FROM openjdk:21-slim AS kotlin-build

# Install necessary tools and Gradle
RUN apt-get update && \
Expand Down Expand Up @@ -37,7 +36,7 @@ COPY . /app
RUN ./gradlew build

# Final Stage: Combine Artifacts
FROM ubuntu:22.04 AS final
FROM ubuntu:24.04 AS final

# Copy Kotlin build artifacts
COPY --from=kotlin-build /app /final/kotlin
Expand Down

0 comments on commit 638c598

Please sign in to comment.