- update to the latest version of Java/SpringBoot - update to the latest version NuxtJS - add account/password update - add account creation - add account password reset - add bundle to regroup questions and add default questions on user creation - add bundle creation
22 lines
572 B
Docker
22 lines
572 B
Docker
FROM maven:3.9.8-eclipse-temurin-21 as builder
|
|
|
|
WORKDIR /src
|
|
COPY . /src
|
|
RUN mvn clean package
|
|
|
|
WORKDIR /app
|
|
RUN cp /src/target/bousole-pluss-backend*.jar bousole-pluss-backend.jar
|
|
RUN java -Djarmode=layertools -jar bousole-pluss-backend.jar extract
|
|
|
|
FROM eclipse-temurin:21-jre-alpine
|
|
EXPOSE 8080
|
|
|
|
USER root
|
|
WORKDIR /app
|
|
|
|
COPY --from=builder /app/dependencies/ ./
|
|
COPY --from=builder /app/snapshot-dependencies/ ./
|
|
COPY --from=builder /app/spring-boot-loader/ ./
|
|
COPY --from=builder /app/application/ ./
|
|
ENTRYPOINT java org.springframework.boot.loader.launch.JarLauncher
|