update build scripts
Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
@@ -11,7 +11,7 @@ USER app
|
|||||||
|
|
||||||
# Copy all needed project files to a folder
|
# Copy all needed project files to a folder
|
||||||
COPY --chown=app ./.mvn/ .mvn
|
COPY --chown=app ./.mvn/ .mvn
|
||||||
COPY --chown=app ./mvnw ./pom.xml ./
|
COPY --chown=app ./mvnw ./pom.xml ./app.json ./
|
||||||
COPY --chown=app ./src ./src
|
COPY --chown=app ./src ./src
|
||||||
|
|
||||||
# Build the production package
|
# Build the production package
|
||||||
|
2
app.json
2
app.json
@@ -6,7 +6,7 @@
|
|||||||
"name": "web check",
|
"name": "web check",
|
||||||
"description": "Checking if the app responds to the /actuator/health/readiness endpoint",
|
"description": "Checking if the app responds to the /actuator/health/readiness endpoint",
|
||||||
"path": "/actuator/health/readiness",
|
"path": "/actuator/health/readiness",
|
||||||
"port": 8080,
|
"port": 5000,
|
||||||
"attempts": 3
|
"attempts": 3
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Reference in New Issue
Block a user