pfs-intra/Dockerfile

9 lines
294 B
Docker
Raw Normal View History

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