update dockerfile

This commit is contained in:
alex 2024-08-05 15:05:20 -04:00
parent 7366e68ea6
commit 09c7b2b626
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,6 @@
FROM openjdk:17-jdk-slim FROM openjdk:21-jdk-slim
RUN git clone https://git.primefactorsolutions.com/PFS/pfs-recruiting.git
RUN cd pfs-recruiting && ./mvnw clean package -Pproduction
COPY target/*.jar app.jar COPY target/*.jar app.jar
EXPOSE 8080 EXPOSE 8080
ENTRYPOINT ["java", "-jar", "/app.jar"] ENTRYPOINT ["java", "-jar", "/app.jar"]

Binary file not shown.