backend: microservices-oriented architecture, clean-architecture design pattern, spring-boot, spring cloud gateway, spring cloud eureka et spring cloud config. - frontend: angular, observer rxjs

Dockerfile 497B

123456789101112
  1. FROM maven:3.8.3-openjdk-17-slim AS builder
  2. EXPOSE 8280
  3. ARG JAR_FILE=target/microservices-config-service.jar
  4. ADD ${JAR_FILE} microservices-config-service.jar
  5. RUN java -Djarmode=layertools -jar microservices-config-service.jar extract
  6. FROM maven:3.8.3-openjdk-17-slim
  7. ENTRYPOINT ["java", "org.springframework.boot.loader.JarLauncher"]
  8. COPY --from=builder dependencies/ ./
  9. COPY --from=builder spring-boot-loader/ ./
  10. COPY --from=builder snapshot-dependencies/ ./
  11. COPY --from=builder application/ ./

Powered by TurnKey Linux.