We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 893fc8b commit 863c503Copy full SHA for 863c503
spring-boot/Dockerfile
@@ -17,8 +17,7 @@ ENTRYPOINT java -XX:+UnlockExperimentalVMOptions \
17
-jar ./app.jar
18
CMD /bin/bash
19
EXPOSE 8080
20
-HEALTHCHECK --interval=1s \
21
- --timeout=1s \
+HEALTHCHECK --timeout=1s \
22
--retries=33 \
23
- CMD curl -f http://127.0.0.1:8080/health || exit 1
24
-COPY ./build/libs/*.jar ./app.jar
+ CMD curl -f http://127.0.0.1:8080/actuator/health || exit 1
+COPY --chown=app ./build/libs/*.jar ./app.jar
0 commit comments