diff --git a/Dockerfile b/Dockerfile index 89896dc..b72f458 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ USER app # Copy all needed project files to a folder COPY --chown=app ./.mvn/ .mvn -COPY --chown=app ./mvnw ./pom.xml ./ +COPY --chown=app ./mvnw ./pom.xml ./app.json ./ COPY --chown=app ./src ./src # Build the production package diff --git a/app.json b/app.json index 5b9927f..ded8ad0 100644 --- a/app.json +++ b/app.json @@ -6,7 +6,7 @@ "name": "web check", "description": "Checking if the app responds to the /actuator/health/readiness endpoint", "path": "/actuator/health/readiness", - "port": 8080, + "port": 5000, "attempts": 3 } ]