split bounded contexts into separate maven modules

This commit is contained in:
Luc Weinbrecht
2022-05-04 06:25:58 +02:00
parent 2f857a79e5
commit 49119644a5
108 changed files with 921 additions and 400 deletions

17
recommendation/Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
FROM maven:3.8.5-openjdk-17 as build
COPY ../pom.xml .
RUN mvn -B dependency:go-offline
COPY ../src src
RUN mvn -B package
FROM openjdk:11-jre-slim-buster
COPY --from=build ../target/recommendation.jar .
EXPOSE 8081
ENTRYPOINT ["java", "-jar", "recommendation.jar"]