diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..2de9b75 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +FROM maven:amazoncorretto AS stage1 +WORKDIR /app +COPY . . +RUN mvn clean install + + +FROM adhig93/tomcat-conf:latest +COPY --from=stage1 /app/target/*.war /usr/local/tomcat/webapps/