Skip to content
Snippets Groups Projects
Commit 76a1ff6b authored by Stian Lyng's avatar Stian Lyng
Browse files

change to maven version 4

parent f12f9506
No related branches found
No related tags found
No related merge requests found
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#EXPOSE 8080 #EXPOSE 8080
# #
# Use the official Maven image as the base image # Use the official Maven image as the base image
FROM maven:3.6.3-jdk-11 as builder FROM maven:4.0.0-jdk-19 as builder
# Set the working directory # Set the working directory
WORKDIR /app WORKDIR /app
...@@ -45,7 +45,7 @@ COPY src ./src ...@@ -45,7 +45,7 @@ COPY src ./src
RUN mvn clean package RUN mvn clean package
# Use the official OpenJDK image as the runtime image # Use the official OpenJDK image as the runtime image
FROM openjdk:11-jre-slim FROM openjdk:19-jre-slim
# Set the working directory # Set the working directory
WORKDIR /app WORKDIR /app
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment