pfs-intra/Dockerfile

9 lines
294 B
Docker
Raw Permalink Normal View History

2024-08-05 21:04:18 +00:00
FROM openjdk:21-jdk-buster as build
RUN apt-get install -y git
2024-08-11 17:48:33 +00:00
RUN git clone https://git.primefactorsolutions.com/PFS/pfs-intra.git
RUN cd pfs-intra && ./mvnw clean package -Pproduction
2024-08-05 21:04:18 +00:00
FROM build
2024-08-11 17:48:33 +00:00
COPY --from=0 pfs-intra/target/*.jar app.jar
2024-08-05 18:49:25 +00:00
EXPOSE 8080
ENTRYPOINT ["java", "-jar", "/app.jar"]