Skip to content

Commit 0242469

Browse files
authored
Merge pull request #38 from devondragon:feature/test-cleanup-and-gradle-updates
Feature/test-cleanup-and-gradle-updates
2 parents 0dbdaa4 + e29d592 commit 0242469

43 files changed

Lines changed: 2732 additions & 2801 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude/settings.local.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@
1515
"mcp__zen__planner",
1616
"Bash(git add:*)",
1717
"Bash(chmod:*)",
18-
"Bash(./fix-mockbean-deprecation.sh:*)"
18+
"Bash(./fix-mockbean-deprecation.sh:*)",
19+
"mcp__zen__debug",
20+
"Bash(git commit:*)",
21+
"mcp__zen__codereview"
1922
],
2023
"deny": []
2124
}

Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
FROM eclipse-temurin:17-jre-jammy
22

3+
# Install wget for healthcheck
4+
RUN apt-get update && apt-get install -y wget && rm -rf /var/lib/apt/lists/*
5+
36
# Add a non-root user to run the application
47
RUN groupadd -r spring && useradd -r -g spring spring
58

@@ -18,9 +21,9 @@ USER spring
1821
# Expose the port the app runs on
1922
EXPOSE 8080
2023

21-
# Configure health check
24+
# Configure health check - using wget instead of curl
2225
HEALTHCHECK --interval=30s --timeout=3s \
23-
CMD curl -f http://localhost:8080/actuator/health || exit 1
26+
CMD wget -q --spider http://localhost:8080/actuator/health || exit 1
2427

2528
# Run the application
2629
ENTRYPOINT ["java", "-jar", "app.jar"]

0 commit comments

Comments
 (0)