2024-10-30 12:00:21 +01:00

15 lines
230 B
Docker

FROM eclipse-temurin:21
WORKDIR /app
COPY pom.xml .
COPY .mvn/ .mvn/
COPY mvnw .
RUN ./mvnw dependency:go-offline -Pdependencies
COPY src/ src/
EXPOSE 8080
CMD exec ./mvnw -o spring-boot:run -Dspring-boot.run.profiles=docker