JAVA-12420 Renamed docker to docker-modules

This commit is contained in:
Dhawal Kapil
2022-06-03 17:47:09 +05:30
parent 4413c8d66d
commit 89f020387f
70 changed files with 10 additions and 10 deletions
@@ -0,0 +1,13 @@
FROM maven:alpine as build
ENV HOME=/usr/app
RUN mkdir -p $HOME
WORKDIR $HOME
ADD . $HOME
RUN --mount=type=cache,target=/root/.m2 mvn -f $HOME/pom.xml clean package
FROM openjdk:8-jdk-alpine
COPY --from=build /usr/app/runner/target/runner-0.0.1-SNAPSHOT-jar-with-dependencies.jar /app/runner.jar
ENTRYPOINT java -jar /app/runner.jar