diff --git a/sep490-idp/Dockerfile b/sep490-idp/Dockerfile index cd5d0420..73c38f62 100644 --- a/sep490-idp/Dockerfile +++ b/sep490-idp/Dockerfile @@ -9,7 +9,8 @@ RUN chown -R idpuser:idpuser /app USER idpuser:idpuser COPY build/libs/*.jar app.jar -RUN test -f app.jar || (echo "JAR file not found" && exit 1) +RUN test -f app.jar || (echo "JAR file not found" && exit 1) \ +&& apk add --no-cache wget HEALTHCHECK --interval=30s --timeout=3s --start-period=60s --retries=3 \ CMD ["wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8080/actuator/health"] diff --git a/sep490-idp/src/main/resources/application.yml b/sep490-idp/src/main/resources/application.yml index 05550fc0..f8ef180b 100644 --- a/sep490-idp/src/main/resources/application.yml +++ b/sep490-idp/src/main/resources/application.yml @@ -8,7 +8,6 @@ spring: flyway: default-schema: ${DB_SCHEMA} output-query-results: ${FLYWAY_OUTPUT_QUERIES:false} - fail-on-missing-locations: true create-schemas: false jpa: hibernate: