.
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@ RUN mvn dependency:resolve
|
|||||||
COPY . .
|
COPY . .
|
||||||
RUN mvn clean install -DskipTests
|
RUN mvn clean install -DskipTests
|
||||||
|
|
||||||
FROM openjdk:21-jdk-slim
|
FROM eclipse-temurin:21-jre
|
||||||
|
|
||||||
# Create a non-root user and group for security
|
# Create a non-root user and group for security
|
||||||
RUN groupadd -r appgroup && useradd -r -s /bin/false -g appgroup appuser
|
RUN groupadd -r appgroup && useradd -r -s /bin/false -g appgroup appuser
|
||||||
|
|||||||
Reference in New Issue
Block a user