diff --git a/docker/Dockerfile b/docker/Dockerfile index f6f0d87..0e44dc5 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -52,7 +52,7 @@ COPY --from=extractor /src/spring-boot-loader/ /opt/ophasen-anmelder COPY --from=extractor /src/snapshot-dependencies/ /opt/ophasen-anmelder COPY --from=extractor /src/application/ /opt/ophasen-anmelder -ENTRYPOINT ["java", "-cp", "/opt/ophasen-anmelder", "org.springframework.boot.loader.JarLauncher"] +ENTRYPOINT ["java", "-cp", "/opt/ophasen-anmelder", "org.springframework.boot.loader.launch.JarLauncher"] HEALTHCHECK --start-period=10s --interval=30s --timeout=3s --retries=3 \ CMD curl --silent --fail --request GET "http://localhost:${MANAGEMENT_PORT}/actuator/health" \ diff --git a/docker/Dockerfile.github-actions b/docker/Dockerfile.github-actions index 66ce9bd..66c0af2 100644 --- a/docker/Dockerfile.github-actions +++ b/docker/Dockerfile.github-actions @@ -40,7 +40,7 @@ COPY --from=extractor /src/spring-boot-loader/ /opt/ophasen-anmelder COPY --from=extractor /src/snapshot-dependencies/ /opt/ophasen-anmelder COPY --from=extractor /src/application/ /opt/ophasen-anmelder -ENTRYPOINT ["java", "-cp", "/opt/ophasen-anmelder", "org.springframework.boot.loader.JarLauncher"] +ENTRYPOINT ["java", "-cp", "/opt/ophasen-anmelder", "org.springframework.boot.loader.launch.JarLauncher"] HEALTHCHECK --start-period=10s --interval=30s --timeout=3s --retries=3 \ CMD curl --silent --fail --request GET "http://localhost:${MANAGEMENT_PORT}/actuator/health" \