From 6596a45dfd7c5e5a24d8a22ee8432cb2ff776e81 Mon Sep 17 00:00:00 2001 From: John Melati Date: Mon, 4 Nov 2024 14:08:48 +0100 Subject: [PATCH] fix: docker build --- .docker/admin-server/Dockerfile | 2 +- .docker/federation-server/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.docker/admin-server/Dockerfile b/.docker/admin-server/Dockerfile index 87be1628..3c05959f 100644 --- a/.docker/admin-server/Dockerfile +++ b/.docker/admin-server/Dockerfile @@ -13,6 +13,6 @@ FROM openjdk:21-jdk as runner WORKDIR /app -COPY --from=builder /app/modules/admin-server/build/libs/admin-server-0.0.1.jar ./admin-server-0.0.1.jar +COPY --from=builder /app/modules/admin-server/build/libs/admin-server-0.1.0-SNAPSHOT.jar ./admin-server-0.0.1.jar ENTRYPOINT ["java", "-jar", "admin-server-0.0.1.jar"] diff --git a/.docker/federation-server/Dockerfile b/.docker/federation-server/Dockerfile index 2a95313b..df2bd10d 100644 --- a/.docker/federation-server/Dockerfile +++ b/.docker/federation-server/Dockerfile @@ -13,6 +13,6 @@ FROM openjdk:21-jdk as runner WORKDIR /app -COPY --from=builder /app/modules/federation-server/build/libs/federation-server-0.0.1.jar ./federation-server-0.0.1.jar +COPY --from=builder /app/modules/federation-server/build/libs/federation-server-0.1.0-SNAPSHOT.jar ./federation-server-0.0.1.jar ENTRYPOINT ["java", "-jar", "federation-server-0.0.1.jar"]