dockerfile fixed

This commit is contained in:
root
2025-09-12 10:19:15 +05:00
parent 90f009b97c
commit 3cde1de8da
+2 -2
View File
@@ -1,5 +1,5 @@
# Multi-stage build for Spring Boot application
FROM maven:3.9.6-openjdk-21-slim AS build
FROM maven:3.9.6-eclipse-temurin-21 AS build
# Set working directory
WORKDIR /app
@@ -15,7 +15,7 @@ COPY src ./src
RUN mvn clean package -DskipTests
# Runtime stage
FROM openjdk:21-jre-slim
FROM eclipse-temurin:21-jre-slim
# Set working directory
WORKDIR /app