Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Thống ĐẶNG HOÀNG committed Nov 24, 2024
1 parent 15ba057 commit ee7c680
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion sep490-idp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
1 change: 0 additions & 1 deletion sep490-idp/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ee7c680

Please sign in to comment.