Replace command line Docker image build with Gradle Jib plugin

This commit is contained in:
Aleksandar Vidakovic
2022-01-02 14:15:34 +08:00
committed by Petri Tuomola
parent b2dbbe66de
commit 6e052e536b
9 changed files with 59 additions and 93 deletions
+3 -3
View File
@@ -36,9 +36,9 @@ services:
ports:
- "3306:3306"
fineract-server:
build:
context: .
target: fineract
image: fineract:latest
volumes:
- ./fineract-provider/build/data:/data
healthcheck:
test: ["CMD", 'sh', '-c', 'echo -e "Checking for the availability of Fineract server deployment"; while ! nc -z "fineract-server" 8443; do sleep 1; printf "-"; done; echo -e " >> Fineract server has started";' ]
timeout: 10s