9 lines
309 B
Docker
9 lines
309 B
Docker
FROM openjdk:21-jdk-buster as build
|
|
RUN apt-get install -y git
|
|
RUN git clone https://git.primefactorsolutions.com/PFS/pfs-recruiting.git
|
|
RUN cd pfs-recruiting && ./mvnw clean package -Pproduction
|
|
|
|
FROM build
|
|
COPY --from=0 pfs-recruiting/target/*.jar app.jar
|
|
EXPOSE 8080
|
|
ENTRYPOINT ["java", "-jar", "/app.jar"] |