Skip to content

Commit

Permalink
FIX: Jar loading
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderKaschta committed Sep 6, 2024
1 parent 409f09c commit 536dd13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.github-actions
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down

0 comments on commit 536dd13

Please sign in to comment.