diff --git a/complete/Dockerfile b/complete/Dockerfile new file mode 100644 index 00000000..78ed0026 --- /dev/null +++ b/complete/Dockerfile @@ -0,0 +1,16 @@ +FROM maven as build + +WORKDIR /build + +COPY pom.xml . +RUN mvn --fail-never verify + +COPY src src +RUN mvn -T 10C -Dmaven.test.skip -DskipTests -o package + + +FROM openjdk + +COPY --from=build /build/target/gs-maven-0.1.0.jar /app.jar + +ENTRYPOINT ["java", "-jar", "/app.jar"] \ No newline at end of file